diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-15 22:38:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-15 22:38:40 +0000 |
commit | 46ac7a5dc6c8eb429695d232a6ee5ca54b275144 (patch) | |
tree | 29b2a29df949ada5286a7be78035608174f87433 /gdb/procfs.c | |
parent | ba8015952d7c447b32f3e00508f5658dd802860b (diff) | |
download | gdb-46ac7a5dc6c8eb429695d232a6ee5ca54b275144.zip gdb-46ac7a5dc6c8eb429695d232a6ee5ca54b275144.tar.gz gdb-46ac7a5dc6c8eb429695d232a6ee5ca54b275144.tar.bz2 |
2004-02-15 Andrew Cagney <cagney@redhat.com>
* procfs.c (procfs_init_inferior): Assume that
START_INFERIOR_TRAPS_EXPECTED is defined.
* config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
* config/ns32k/tm-nbsd.h: Delete file,
START_INFERIOR_TRAPS_EXPECTED already defined as 2.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index f73f729..352b735 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -4839,12 +4839,9 @@ procfs_init_inferior (int pid) the actual process ID plus the lwp ID. */ inferior_ptid = MERGEPID (pi->pid, proc_get_current_thread (pi)); -#ifdef START_INFERIOR_TRAPS_EXPECTED + /* Typically two, one trap to exec the shell, one to exec the + program being debugged. Defined by "inferior.h". */ startup_inferior (START_INFERIOR_TRAPS_EXPECTED); -#else - /* One trap to exec the shell, one to exec the program being debugged. */ - startup_inferior (2); -#endif /* START_INFERIOR_TRAPS_EXPECTED */ } /* |