2003-05-07 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 7 May 2003 22:13:33 +0000 (22:13 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 7 May 2003 22:13:33 +0000 (22:13 +0000)
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
code.

gdb/ChangeLog
gdb/fork-child.c

index 6747f6a165999c35dc91812383b395a6e003fbe0..7a4253fc276e1fd92fd1b84cc1ee03c54885e834 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-07  Andrew Cagney  <cagney@redhat.com>
+
+       * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
+       code.
+
 2003-05-07  Jim Blandy  <jimb@redhat.com>
 
        Rename commands 'maint list symtabs' and 'maint list psymtabs' to
index 1dc28e822d4ea863be0090e217af77996d83f5e7..738898a3eb35118b27e376154866b44f3673c7d6 100644 (file)
@@ -404,9 +404,6 @@ startup_inferior (int ntraps)
   inferior_ignoring_leading_exec_events =
     target_reported_exec_events_per_exec_call () - 1;
 
-#ifdef STARTUP_INFERIOR
-  STARTUP_INFERIOR (pending_execs);
-#else
   while (1)
     {
       /* Make wait_for_inferior be quiet */
@@ -444,6 +441,5 @@ startup_inferior (int ntraps)
          resume (0, TARGET_SIGNAL_0);  /* Just make it go on */
        }
     }
-#endif /* STARTUP_INFERIOR */
   stop_soon = NO_STOP_QUIETLY;
 }