aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:07:28 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:50 -0700
commite51c07ea4ab456d2a46fb48256007518722d21e9 (patch)
treebe3515ae975d329987e6a65b0eb1126a863a3bef /gdb/target.c
parent6fea14cd31245114ab9a48a4134790e826be2a24 (diff)
downloadgdb-e51c07ea4ab456d2a46fb48256007518722d21e9.zip
gdb-e51c07ea4ab456d2a46fb48256007518722d21e9.tar.gz
gdb-e51c07ea4ab456d2a46fb48256007518722d21e9.tar.bz2
convert to_trace_stop
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_trace_stop. * target.h (struct target_ops) <to_trace_stop>: Use TARGET_DEFAULT_NORETURN.
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 6da6cf8..02981e2 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -698,7 +698,7 @@ update_current_target (void)
/* Do not inherit to_trace_start. */
/* Do not inherit to_get_trace_status. */
/* Do not inherit to_get_tracepoint_status. */
- INHERIT (to_trace_stop, t);
+ /* Do not inherit to_trace_stop. */
INHERIT (to_trace_find, t);
INHERIT (to_get_trace_state_variable_value, t);
INHERIT (to_save_trace_data, t);
@@ -752,9 +752,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
- de_fault (to_trace_stop,
- (void (*) (struct target_ops *))
- tcomplain);
de_fault (to_trace_find,
(int (*) (struct target_ops *,
enum trace_find_type, int, CORE_ADDR, CORE_ADDR, int *))