summaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-29 15:33:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-29 15:33:02 +0000
commit439b2ec6f86bfc728133b2019cac3c0c2b61023a (patch)
tree0ba1cb1b0aca30cf0cd397dc701090691ca8d76f /gdb/inf-child.c
parent9e3bfd7ef21e086610e85893f6823f0af21f86c6 (diff)
downloadgdb-439b2ec6f86bfc728133b2019cac3c0c2b61023a.tar.gz
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-child.c')
-rw-r--r--gdb/inf-child.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c
index cb7b2ec04d9..ebc6c6243d2 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -52,13 +52,6 @@ inf_child_store_inferior_registers (int regnum)
{
}
-void
-inf_child_post_wait (ptid_t ptid, int wait_status)
-{
- /* This version of Unix doesn't require a meaningful "post wait"
- operation. */
-}
-
static void
inf_child_post_attach (int pid)
{
@@ -197,7 +190,6 @@ inf_child_target (void)
t->to_doc = "Unix child process (started by the \"run\" command).";
t->to_open = inf_child_open;
t->to_post_attach = inf_child_post_attach;
- t->to_post_wait = inf_child_post_wait;
t->to_fetch_registers = inf_child_fetch_inferior_registers;
t->to_store_registers = inf_child_store_inferior_registers;
t->to_prepare_to_store = inf_child_prepare_to_store;