diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-08 19:58:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-08 19:58:15 +0000 |
commit | d966f0cbf54fc58741ba50659f6e48dab6081148 (patch) | |
tree | 579067a3360adf4ee0a4eeee206a908f87ca4d5f /gdb/gnu-nat.c | |
parent | d91670b90d86f64037d24b6ce19fc162c373ff45 (diff) | |
download | gdb-d966f0cbf54fc58741ba50659f6e48dab6081148.zip gdb-d966f0cbf54fc58741ba50659f6e48dab6081148.tar.gz gdb-d966f0cbf54fc58741ba50659f6e48dab6081148.tar.bz2 |
2004-06-08 Andrew Cagney <cagney@gnu.org>
* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
(attach, detach): When neither PT_ATTACH / PT_DETACH nor
PTRACE_ATTACH / PTRACE_DETACH available call error.
(PT_ATTACH, PT_DETACH): Move definition to attach / detach.
* infttrace.c (update_thread_state_after_attach, attach, detach):
Remove #ifdef wrappers.
* inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
* gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
* config/nm-bsd.h (ATTACH_DETACH): Delete.
* config/nm-sysv4.h (ATTACH_DETACH): Delete.
* config/nm-nbsd.h (ATTACH_DETACH): Delete.
* config/nm-linux.h (ATTACH_DETACH): Delete.
* config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
* config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
Index: doc/ChangeLog
2004-06-08 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete documentation on
ATTACH_DETACH.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index aac10f8..f43d1ba 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2103,8 +2103,6 @@ gnu_can_run (void) } -#ifdef ATTACH_DETACH - /* Attach to process PID, then initialize for debugging it and wait for the trace-trap that results from attaching. */ static void @@ -2189,8 +2187,6 @@ gnu_detach (char *args, int from_tty) unpush_target (&gnu_ops); /* Pop out of handling an inferior */ } -#endif /* ATTACH_DETACH */ - static void gnu_terminal_init_inferior (void) |