aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:09:04 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:52 -0700
commit959bcd0b393d5d35e7e7b6ac5d8cd6083c866a8c (patch)
tree96923b48437393d05bc826db83fb33f5d825512b /gdb/target.c
parentafc94e66d421055b1fc13995876c0880c8f626c7 (diff)
downloadgdb-959bcd0b393d5d35e7e7b6ac5d8cd6083c866a8c.zip
gdb-959bcd0b393d5d35e7e7b6ac5d8cd6083c866a8c.tar.gz
gdb-959bcd0b393d5d35e7e7b6ac5d8cd6083c866a8c.tar.bz2
convert to_get_trace_state_variable_value
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_get_trace_state_variable_value. * target.h (struct target_ops) <to_get_trace_state_variable_value>: 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 9ef0762..f0309f1 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -700,7 +700,7 @@ update_current_target (void)
/* Do not inherit to_get_tracepoint_status. */
/* Do not inherit to_trace_stop. */
/* Do not inherit to_trace_find. */
- INHERIT (to_get_trace_state_variable_value, t);
+ /* Do not inherit to_get_trace_state_variable_value. */
INHERIT (to_save_trace_data, t);
INHERIT (to_upload_tracepoints, t);
INHERIT (to_upload_trace_state_variables, 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_get_trace_state_variable_value,
- (int (*) (struct target_ops *, int, LONGEST *))
- return_zero);
de_fault (to_save_trace_data,
(int (*) (struct target_ops *, const char *))
tcomplain);