From 4c3e44251dcb59f096a4d27006c36ffcc0057398 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:16:51 -0700 Subject: convert to_static_tracepoint_marker_at 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_static_tracepoint_marker_at. * target.h (struct target_ops) : Use TARGET_DEFAULT_RETURN. --- gdb/target.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gdb/target.c') 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 *)) -- cgit v1.1