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/inftarg.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/inftarg.c')
-rw-r--r-- | gdb/inftarg.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c index 3a9ed13..7238576 100644 --- a/gdb/inftarg.c +++ b/gdb/inftarg.c @@ -53,10 +53,6 @@ static void child_prepare_to_store (void); static ptid_t child_wait (ptid_t, struct target_waitstatus *); #endif /* CHILD_WAIT */ -#if !defined(CHILD_POST_WAIT) -void child_post_wait (ptid_t, int); -#endif - static void child_open (char *, int); static void child_files_info (struct target_ops *); @@ -159,17 +155,6 @@ child_wait (ptid_t ptid, struct target_waitstatus *ourstatus) } #endif /* CHILD_WAIT */ -#if !defined(CHILD_POST_WAIT) -void -child_post_wait (ptid_t ptid, int wait_status) -{ - /* This version of Unix doesn't require a meaningful "post wait" - operation. - */ -} -#endif - - #ifndef CHILD_THREAD_ALIVE /* Check to see if the given thread is alive. @@ -605,7 +590,6 @@ init_child_ops (void) child_ops.to_detach = child_detach; child_ops.to_resume = child_resume; child_ops.to_wait = child_wait; - child_ops.to_post_wait = child_post_wait; child_ops.to_fetch_registers = fetch_inferior_registers; child_ops.to_store_registers = store_inferior_registers; child_ops.to_prepare_to_store = child_prepare_to_store; |