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 6747f6a..7a4253f 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 1dc28e8..738898a 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;
 }