aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:08:14 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:51 -0700
commitafc94e66d421055b1fc13995876c0880c8f626c7 (patch)
treec026f2d2facd8a545aebc67412784baaa3969da5 /gdb/target.c
parente51c07ea4ab456d2a46fb48256007518722d21e9 (diff)
downloadgdb-afc94e66d421055b1fc13995876c0880c8f626c7.zip
gdb-afc94e66d421055b1fc13995876c0880c8f626c7.tar.gz
gdb-afc94e66d421055b1fc13995876c0880c8f626c7.tar.bz2
convert to_trace_find
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_trace_find. * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 02981e2..9ef0762 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -699,7 +699,7 @@ update_current_target (void)
/* Do not inherit to_get_trace_status. */
/* Do not inherit to_get_tracepoint_status. */
/* Do not inherit to_trace_stop. */
- INHERIT (to_trace_find, t);
+ /* Do not inherit to_trace_find. */
INHERIT (to_get_trace_state_variable_value, t);
INHERIT (to_save_trace_data, t);
INHERIT (to_upload_tracepoints, t);
@@ -752,10 +752,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
- de_fault (to_trace_find,
- (int (*) (struct target_ops *,
- enum trace_find_type, int, CORE_ADDR, CORE_ADDR, int *))
- return_minus_one);
de_fault (to_get_trace_state_variable_value,
(int (*) (struct target_ops *, int, LONGEST *))
return_zero);