aboutsummaryrefslogtreecommitdiff
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
commit87767c29b527515e0b1dbdefaaef86f972e0de9b (patch)
tree1ea4322fed33ed2e0dd64251df9f87df84ada320 /gdb
parent09bf6082f5ff04bb271e9d6904a29df03027ea37 (diff)
downloadgdb-87767c29b527515e0b1dbdefaaef86f972e0de9b.zip
gdb-87767c29b527515e0b1dbdefaaef86f972e0de9b.tar.gz
gdb-87767c29b527515e0b1dbdefaaef86f972e0de9b.tar.bz2
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 6747f6a..7a4253f 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 1dc28e8..738898a 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;
}