forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user