From bc28a06cc11e2be1d9bd4f4233b3fbbe5ff30654 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 27 Oct 1993 19:30:27 +0000 Subject: * fork-child.c (fork_inferior): Set inferior_pid before calling init_trace_fun. Move the code which gets us through the shell to new function startup_inferior. * inferior.h: Declare startup_inferior. * procfs.c (procfs_init_inferior), inftarg.c (ptrace_him): Call startup_inferior. * m3-nat.c (m3_trace_him): Call intercept_exec_calls. * config/nm-m3.h: Don't define STARTUP_INFERIOR. * config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h, config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED. --- gdb/config/nm-m3.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/config/nm-m3.h') diff --git a/gdb/config/nm-m3.h b/gdb/config/nm-m3.h index 0d12424..07bf625 100644 --- a/gdb/config/nm-m3.h +++ b/gdb/config/nm-m3.h @@ -39,10 +39,6 @@ extern thread_t current_thread; */ extern int must_suspend_thread; -/* Startup the inferior task and suspend it after the correct code is loaded */ - -#define STARTUP_INFERIOR(x) intercept_exec_calls(x) - #define PREPARE_TO_PROCEED(select_it) mach3_prepare_to_proceed(select_it) /* Try to get the privileged host port for authentication to machid -- cgit v1.1