2004-06-08 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Tue, 8 Jun 2004 19:58:15 +0000 (19:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 8 Jun 2004 19:58:15 +0000 (19:58 +0000)
commitd966f0cbf54fc58741ba50659f6e48dab6081148
tree579067a3360adf4ee0a4eeee206a908f87ca4d5f
parentd91670b90d86f64037d24b6ce19fc162c373ff45
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.
16 files changed:
gdb/ChangeLog
gdb/config/i386/nm-i386gnu.h
gdb/config/i386/nm-i386sco4.h
gdb/config/i386/nm-i386sco5.h
gdb/config/nm-bsd.h
gdb/config/nm-linux.h
gdb/config/nm-nbsd.h
gdb/config/nm-sysv4.h
gdb/config/pa/nm-hppah.h
gdb/config/rs6000/nm-rs6000.h
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/gnu-nat.c
gdb/infptrace.c
gdb/inftarg.c
gdb/infttrace.c