From d966f0cbf54fc58741ba50659f6e48dab6081148 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 8 Jun 2004 19:58:15 +0000 Subject: 2004-06-08 Andrew Cagney * 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 * gdbint.texinfo (Native Debugging): Delete documentation on ATTACH_DETACH. --- gdb/config/pa/nm-hppah.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gdb/config/pa') 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 -- cgit v1.1