diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-29 15:33:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-29 15:33:02 +0000 |
commit | a182eed6e25da26d08047ce884748547da0c0b36 (patch) | |
tree | e967da8af7fd1e6806be2e2f635daa8f4a282e63 /gdb/inf-ptrace.c | |
parent | ba0c540b35a315312f8e85cd01e00d060b771cc6 (diff) | |
download | gdb-a182eed6e25da26d08047ce884748547da0c0b36.zip gdb-a182eed6e25da26d08047ce884748547da0c0b36.tar.gz gdb-a182eed6e25da26d08047ce884748547da0c0b36.tar.bz2 |
2004-09-29 Andrew Cagney <cagney@gnu.org>
* target.h (struct target_ops): Delete field to_post_wait.
(target_post_wait): Delete macro.
(child_post_wait): Delete declaration.
* target.c (update_current_target, update_current_target)
(debug_to_post_wait, setup_target_debug): Delete functions and
references.
* infttrace.c (ptrace_wait): Delete call to target_post_wait.
* inftarg.c (child_post_wait): Delete.
(init_child_ops): Do not set to_post_wait.
* infptrace.c (ptrace_wait): Delete call to target_post_wait.
* inf-ptrace.c (inf_ptrace_wait): Delete call to target_post_wait.
* inf-child.c (inf_child_post_wait): Delete.
(inf_child_target): Do not set to_post_wait.
* inf-ptrace.c (inf_ptrace_post_wait): Delete.
(inf_ptrace_target): Do not set to_post_wait.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r-- | gdb/inf-ptrace.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index f0da821..14b3f0a 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -256,7 +256,6 @@ inf_ptrace_wait (ptid_t ptid, struct target_waitstatus *ourstatus) set_sigio_trap (); pid = wait (&status); - target_post_wait (pid_to_ptid (pid), status); save_errno = errno; @@ -299,14 +298,6 @@ inf_ptrace_wait (ptid_t ptid, struct target_waitstatus *ourstatus) return pid_to_ptid (pid); } -void -inf_ptrace_post_wait (ptid_t ptid, int wait_status) -{ - /* This version of Unix doesn't require a meaningful "post wait" - operation. - */ -} - /* Check to see if the given thread is alive. FIXME: Is kill() ever the right way to do this? I doubt it, but @@ -666,7 +657,6 @@ inf_ptrace_target (void) t->to_detach = inf_ptrace_detach; t->to_resume = inf_ptrace_resume; t->to_wait = inf_ptrace_wait; - t->to_post_wait = inf_ptrace_post_wait; t->to_prepare_to_store = inf_ptrace_prepare_to_store; t->to_xfer_memory = inf_ptrace_xfer_memory; t->to_xfer_partial = inf_ptrace_xfer_partial; |