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/infttrace.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/infttrace.c')
-rw-r--r-- | gdb/infttrace.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c index 3a8e7b4..eb79159 100644 --- a/gdb/infttrace.c +++ b/gdb/infttrace.c @@ -4560,8 +4560,6 @@ child_resume (ptid_t ptid, int step, enum target_signal signal) } #endif /* CHILD_RESUME */ - -#ifdef ATTACH_DETACH /* * Like it says. * @@ -4733,10 +4731,8 @@ update_thread_state_after_attach (int pid, attach_continue_t kind_of_go) attach_flag = 1; } -#endif /* ATTACH_DETACH */ -#ifdef ATTACH_DETACH /* Start debugging the process whose number is PID. * (A _real_ pid). */ @@ -4803,7 +4799,6 @@ detach (int signal) /* Process-state? */ } -#endif /* ATTACH_DETACH */ /* Default the type of the ttrace transfer to int. */ |