aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-16 23:04:55 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-16 23:04:55 +0000
commit9f8219f130009ff0d3a3a9ab9e400cab07ce4f0e (patch)
tree0be9065289a4e99c975be806c8318a70b72b4d92 /gdb/fork-child.c
parent6ec7e4d36a85990132baf8b0166614f273e7b31d (diff)
downloadgdb-9f8219f130009ff0d3a3a9ab9e400cab07ce4f0e.zip
gdb-9f8219f130009ff0d3a3a9ab9e400cab07ce4f0e.tar.gz
gdb-9f8219f130009ff0d3a3a9ab9e400cab07ce4f0e.tar.bz2
* fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined,
call it instead of doing normal loop. * infcmd.c (attach_command): Don't call wait_for_inferior if running Mach 3. * infrun.c (proceed) [PREPARE_TO_PROCEED]: If defined, call hook that can decide whether to step over the next breakpoint. * utils.c (wrap_here): Abort if wrap_buffer not allocated. (request_quit) [REQUEST_QUIT]: If defined, call it instead of doing normal quit. * Makefile.in (stop-gdb): New target. * stop-gdb.c: New file, utility to get attention of waiting GDBs in Mach 3.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 4954de2..26b74cf 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -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;
}