aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
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
commita182eed6e25da26d08047ce884748547da0c0b36 (patch)
treee967da8af7fd1e6806be2e2f635daa8f4a282e63 /gdb/target.h
parentba0c540b35a315312f8e85cd01e00d060b771cc6 (diff)
downloadgdb-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/target.h')
-rw-r--r--gdb/target.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 4af4799..ab523c9 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -304,7 +304,6 @@ struct target_ops
void (*to_disconnect) (char *, int);
void (*to_resume) (ptid_t, int, enum target_signal);
ptid_t (*to_wait) (ptid_t, struct target_waitstatus *);
- void (*to_post_wait) (ptid_t, int);
void (*to_fetch_registers) (int);
void (*to_store_registers) (int);
void (*to_prepare_to_store) (void);
@@ -507,19 +506,6 @@ extern void target_disconnect (char *, int);
#define target_wait(ptid, status) \
(*current_target.to_wait) (ptid, status)
-/* The target_wait operation waits for a process event to occur, and
- thereby stop the process.
-
- On some targets, certain events may happen in sequences. gdb's
- correct response to any single event of such a sequence may require
- knowledge of what earlier events in the sequence have been seen.
-
- This operation provides a target-specific hook that allows the
- necessary bookkeeping to be performed to track such sequences. */
-
-#define target_post_wait(ptid, status) \
- (*current_target.to_post_wait) (ptid, status)
-
/* Fetch at least register REGNO, or all regs if regno == -1. No result. */
#define target_fetch_registers(regno) \
@@ -578,8 +564,6 @@ extern char *child_core_file_to_sym_file (char *);
extern void child_post_attach (int);
#endif
-extern void child_post_wait (ptid_t, int);
-
extern void child_post_startup_inferior (ptid_t);
extern void child_acknowledge_created_inferior (int);