aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 10:47:22 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:27 -0700
commit0db88c1ddcd5524c2839650474b9750018b272f4 (patch)
treeb18147e355824cbbd18fe0d5733fd19032ce962c /gdb/target.c
parent6a9fa05147d8d42c57efc441641a3e3c2fd96057 (diff)
downloadgdb-0db88c1ddcd5524c2839650474b9750018b272f4.zip
gdb-0db88c1ddcd5524c2839650474b9750018b272f4.tar.gz
gdb-0db88c1ddcd5524c2839650474b9750018b272f4.tar.bz2
convert to_has_exited
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_has_exited. * target.h (struct target_ops) <to_has_exited>: Use TARGET_DEFAULT_RETURN..
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c
index f07522d..9c5f756 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -636,7 +636,7 @@ update_current_target (void)
/* Do not inherit to_insert_exec_catchpoint. */
/* Do not inherit to_remove_exec_catchpoint. */
/* Do not inherit to_set_syscall_catchpoint. */
- INHERIT (to_has_exited, t);
+ /* Do not inherit to_has_exited. */
/* Do not inherit to_mourn_inferior. */
INHERIT (to_can_run, t);
/* Do not inherit to_pass_signals. */
@@ -732,9 +732,6 @@ update_current_target (void)
(int (*) (CORE_ADDR, gdb_byte *, int, int,
struct mem_attrib *, struct target_ops *))
nomemory);
- de_fault (to_has_exited,
- (int (*) (struct target_ops *, int, int, int *))
- return_zero);
de_fault (to_can_run,
(int (*) (struct target_ops *))
return_zero);