summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-07 22:13:33 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-07 22:13:33 +0000
commit7bd6423fa3af72cd8e5bcaf4f7eb41a5e6333494 (patch)
tree7964e2c403bc508eea351914846fbe54692a8cf0 /gdb
parentb3bfb09059216dae6d01ea3ffea47858f8463140 (diff)
downloadgdb-7bd6423fa3af72cd8e5bcaf4f7eb41a5e6333494.tar.gz
2003-05-07 Andrew Cagney <cagney@redhat.com>
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR code.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/fork-child.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6747f6a1659..7a4253fc276 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 1dc28e822d4..738898a3eb3 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -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;
}