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/config/pa | |
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/config/pa')
-rw-r--r-- | gdb/config/pa/nm-hppah.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h index bf4fd3c..3b0b30d 100644 --- a/gdb/config/pa/nm-hppah.h +++ b/gdb/config/pa/nm-hppah.h @@ -91,15 +91,6 @@ extern int hppa_require_detach (int, int); #define PT_WRITE_I PT_WIUSER #define PT_WRITE_D PT_WDUSER -/* attach/detach works to some extent under BSD and HPUX. So long - as the process you're attaching to isn't blocked waiting on io, - blocked waiting on a signal, or in a system call things work - fine. (The problems in those cases are related to the fact that - the kernel can't provide complete register information for the - target process... Which really pisses off GDB.) */ - -#define ATTACH_DETACH - /* In infptrace or infttrace.c: */ /* Starting with HP-UX 10.30, support is provided (in the form of |