aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-15 04:26:06 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-15 04:26:06 +0000
commit5d76c8e66273baf43bfee19c3341e605d4a09ad8 (patch)
tree5db705f610608b293aed609977860b76ae5b272b /gdb/fork-child.c
parent8c4731b588620a52771117864c29f4ab1b6bc892 (diff)
downloadgdb-5d76c8e66273baf43bfee19c3341e605d4a09ad8.zip
gdb-5d76c8e66273baf43bfee19c3341e605d4a09ad8.tar.gz
gdb-5d76c8e66273baf43bfee19c3341e605d4a09ad8.tar.bz2
* fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
remote-mon.c (monitor_create_inferior), remote-nindy.c (nindy_create_inferior), remote-st.c (st2000_create_inferior), remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it is replaced by init_trace_fun. * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex port. * Makefile.in: Add Mach files to ALLDEPFILES, etc. * m3-nat.c: Clean up more hair--message(), cprocs. * configure.in: Recognize Mach targets and hosts. * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can include this file. * Mach headers in config/*/tm-*.h: Fix includes to match correct locations of files.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index d8cf886..e982864 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -244,13 +244,9 @@ fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun)
init_thread_list();
-#ifdef CREATE_INFERIOR_HOOK
- CREATE_INFERIOR_HOOK (pid);
-#endif
-
-/* The process was started by the fork that created it,
- but it will have stopped one instruction after execing the shell.
- Here we must get it up to actual execution of the real program. */
+ /* The process was started by the fork that created it,
+ but it will have stopped one instruction after execing the shell.
+ Here we must get it up to actual execution of the real program. */
inferior_pid = pid; /* Needed for wait_for_inferior stuff below */