From a2e6c147fcef5671c6c99f647a8e4587a117db30 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:09:37 -0700 Subject: convert to_save_trace_data 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_save_trace_data. * target.h (struct target_ops) : Use TARGET_DEFAULT_NORETURN. --- gdb/target.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/target.c') diff --git a/gdb/target.c b/gdb/target.c index f0309f1..44900ed 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -701,7 +701,7 @@ update_current_target (void) /* Do not inherit to_trace_stop. */ /* Do not inherit to_trace_find. */ /* Do not inherit to_get_trace_state_variable_value. */ - INHERIT (to_save_trace_data, t); + /* Do not inherit to_save_trace_data. */ INHERIT (to_upload_tracepoints, t); INHERIT (to_upload_trace_state_variables, t); INHERIT (to_get_raw_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_save_trace_data, - (int (*) (struct target_ops *, const char *)) - tcomplain); de_fault (to_upload_tracepoints, (int (*) (struct target_ops *, struct uploaded_tp **)) return_zero); -- cgit v1.1