diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-03-17 19:28:09 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-03-17 19:28:09 +0000 |
commit | 7d85a9c0e3639345cb6d19c139ccb9da5095fc76 (patch) | |
tree | 72a4cba16ffa78f6e727bde589b242829e4facab /gdb/inf-ttrace.c | |
parent | 14064aa202f80cd07434295c44268f44944859aa (diff) | |
download | gdb-7d85a9c0e3639345cb6d19c139ccb9da5095fc76.zip gdb-7d85a9c0e3639345cb6d19c139ccb9da5095fc76.tar.gz gdb-7d85a9c0e3639345cb6d19c139ccb9da5095fc76.tar.bz2 |
Add a target_ops parameter to the to_kill method in struct target_ops.
* target.h (struct target_ops): Add a "target_ops *" parameter to
method to_kill.
(target_kill): Remove macro. Add declaration.
* target.c (debug_to_kill): Delete, no longer necessary.
(target_kill): New function.
(update_current_target): Stop inheriting the to_kill method.
Do not de_fault it to no_process either.
(setup_target_debug): Do not set current_target.to_kill.
* gnu-nat.c, go32-nat.c, hpux-thread.c, inf-ptrace.c, inf-ttrace.c,
linux-nat.c, monitor.c, nto-procfs.c, procfs.c, remote-m32r-sdi.c,
remote-mips.c, remote-sim.c, remote.c, windows-nat.c: Update
accordingly.
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r-- | gdb/inf-ttrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c index 965282a..3014c2c 100644 --- a/gdb/inf-ttrace.c +++ b/gdb/inf-ttrace.c @@ -814,7 +814,7 @@ inf_ttrace_detach (struct target_ops *ops, char *args, int from_tty) } static void -inf_ttrace_kill (void) +inf_ttrace_kill (struct target_ops *ops) { pid_t pid = ptid_get_pid (inferior_ptid); |