From 1e949b005fbc5a62ba4479a9861e861bc72de2a1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:10:14 -0700 Subject: convert to_upload_tracepoints 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_upload_tracepoints. * target.h (struct target_ops) : Use TARGET_DEFAULT_RETURN. --- 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 44900ed..e406142 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -702,7 +702,7 @@ update_current_target (void) /* Do not inherit to_trace_find. */ /* Do not inherit to_get_trace_state_variable_value. */ /* Do not inherit to_save_trace_data. */ - INHERIT (to_upload_tracepoints, t); + /* Do not inherit to_upload_tracepoints. */ INHERIT (to_upload_trace_state_variables, t); INHERIT (to_get_raw_trace_data, t); INHERIT (to_get_min_fast_tracepoint_insn_len, 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_upload_tracepoints, - (int (*) (struct target_ops *, struct uploaded_tp **)) - return_zero); de_fault (to_upload_trace_state_variables, (int (*) (struct target_ops *, struct uploaded_tsv **)) return_zero); -- cgit v1.1