aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-04-12 17:36:01 +0100
committerPedro Alves <palves@redhat.com>2018-04-12 17:36:01 +0100
commit436411b1c6cb93541fd502321cf5470fe0392b91 (patch)
tree3fc7cf033082d97509ce454cd3d28cebf93f9b2f /gdb/target.h
parent86c6c6df007cee29f4a723df1a6af1889183fb2e (diff)
downloadgdb-436411b1c6cb93541fd502321cf5470fe0392b91.zip
gdb-436411b1c6cb93541fd502321cf5470fe0392b91.tar.gz
gdb-436411b1c6cb93541fd502321cf5470fe0392b91.tar.bz2
Eliminate target_has_exited
Nothing uses this. gdb/ChangeLog: 2018-04-12 Pedro Alves <palves@redhat.com> * target.h (target_ops::to_has_exited): Delete. (target_has_exited): Delete. * target-delegates.c: Regenerate.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/target.h b/gdb/target.h
index d7580ac..f208b10 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -597,8 +597,6 @@ struct target_ops
int, bool, int,
gdb::array_view<const int>)
TARGET_DEFAULT_RETURN (1);
- int (*to_has_exited) (struct target_ops *, int, int, int *)
- TARGET_DEFAULT_RETURN (0);
void (*to_mourn_inferior) (struct target_ops *)
TARGET_DEFAULT_FUNC (default_mourn_inferior);
/* Note that to_can_run is special and can be invoked on an
@@ -1624,13 +1622,6 @@ void target_follow_exec (struct inferior *inf, char *execd_pathname);
pid, needed, any_count, \
syscall_counts)
-/* Returns TRUE if PID has exited. And, also sets EXIT_STATUS to the
- exit code of PID, if any. */
-
-#define target_has_exited(pid,wait_status,exit_status) \
- (*current_target.to_has_exited) (&current_target, \
- pid,wait_status,exit_status)
-
/* The debugger has completed a blocking wait() call. There is now
some process event that must be processed. This function should
be defined by those targets that require the debugger to perform