* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / fork-child.c
index 4954de2b169a19e451a2abd4f255f096ae66846b..26b74cf416541e5045f92a18d1051d7b62ba40ef 100644 (file)
@@ -259,6 +259,9 @@ startup_inferior (ntraps)
 
   terminal_initted = 0;
 
+#ifdef STARTUP_INFERIOR
+  STARTUP_INFERIOR (pending_execs);
+#else
   while (1)
     {
       stop_soon_quietly = 1;   /* Make wait_for_inferior be quiet */
@@ -292,5 +295,6 @@ startup_inferior (ntraps)
          resume (0, TARGET_SIGNAL_0);          /* Just make it go on */
        }
     }
+#endif /* STARTUP_INFERIOR */
   stop_soon_quietly = 0;
 }
This page took 0.023108 seconds and 4 git commands to generate.