aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:16:51 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:01 -0700
commit4c3e44251dcb59f096a4d27006c36ffcc0057398 (patch)
tree8b9054a45e51418fc39ab376cb09f9111befb8b2 /gdb/target.c
parentdcd6917ff721b568fed57e4f24101fa226288ae1 (diff)
downloadbinutils-4c3e44251dcb59f096a4d27006c36ffcc0057398.zip
binutils-4c3e44251dcb59f096a4d27006c36ffcc0057398.tar.gz
binutils-4c3e44251dcb59f096a4d27006c36ffcc0057398.tar.bz2
convert to_static_tracepoint_marker_at
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_static_tracepoint_marker_at. * target.h (struct target_ops) <to_static_tracepoint_marker_at>: 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 25017ac..ca7ed5e 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -710,7 +710,7 @@ update_current_target (void)
/* Do not inherit to_set_trace_notes. */
/* Do not inherit to_get_tib_address. */
/* Do not inherit to_set_permissions. */
- INHERIT (to_static_tracepoint_marker_at, t);
+ /* Do not inherit to_static_tracepoint_marker_at. */
INHERIT (to_static_tracepoint_markers_by_strid, t);
INHERIT (to_traceframe_info, t);
INHERIT (to_use_agent, t);
@@ -750,10 +750,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
- de_fault (to_static_tracepoint_marker_at,
- (int (*) (struct target_ops *,
- CORE_ADDR, struct static_tracepoint_marker *))
- return_zero);
de_fault (to_static_tracepoint_markers_by_strid,
(VEC(static_tracepoint_marker_p) * (*) (struct target_ops *,
const char *))