aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:10:40 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:54 -0700
commit081204679d54dc5c6d7801dd4cc6decd949054b3 (patch)
treea5c55462b7389c72b9a0b64e50a2066e40ac75c6 /gdb/target.c
parent1e949b005fbc5a62ba4479a9861e861bc72de2a1 (diff)
downloadgdb-081204679d54dc5c6d7801dd4cc6decd949054b3.zip
gdb-081204679d54dc5c6d7801dd4cc6decd949054b3.tar.gz
gdb-081204679d54dc5c6d7801dd4cc6decd949054b3.tar.bz2
convert to_upload_trace_state_variables
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_upload_trace_state_variables. * target.h (struct target_ops) <to_upload_trace_state_variables>: 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 e406142..38d8dda 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -703,7 +703,7 @@ update_current_target (void)
/* Do not inherit to_get_trace_state_variable_value. */
/* Do not inherit to_save_trace_data. */
/* Do not inherit to_upload_tracepoints. */
- INHERIT (to_upload_trace_state_variables, t);
+ /* Do not inherit to_upload_trace_state_variables. */
INHERIT (to_get_raw_trace_data, t);
INHERIT (to_get_min_fast_tracepoint_insn_len, t);
INHERIT (to_set_disconnected_tracing, 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_trace_state_variables,
- (int (*) (struct target_ops *, struct uploaded_tsv **))
- return_zero);
de_fault (to_get_raw_trace_data,
(LONGEST (*) (struct target_ops *, gdb_byte *, ULONGEST, LONGEST))
tcomplain);