aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:10:14 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:53 -0700
commit1e949b005fbc5a62ba4479a9861e861bc72de2a1 (patch)
treea91e8028af961e7e3a98ade4b897963c932c16f8 /gdb/target.c
parenta2e6c147fcef5671c6c99f647a8e4587a117db30 (diff)
downloadgdb-1e949b005fbc5a62ba4479a9861e861bc72de2a1.zip
gdb-1e949b005fbc5a62ba4479a9861e861bc72de2a1.tar.gz
gdb-1e949b005fbc5a62ba4479a9861e861bc72de2a1.tar.bz2
convert to_upload_tracepoints
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_upload_tracepoints. * target.h (struct target_ops) <to_upload_tracepoints>: 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 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);