From d6522a229d3baf2659c63a65b60947dff58ea200 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Dec 2013 14:17:35 -0700 Subject: convert to_static_tracepoint_markers_by_strid Note that this patch reformats the to_static_tracepoint_markers_by_strid field declaration in struct target_ops. This was needed because make-target-delegates requires the opening paren for the parameters to be on the same line as the method name, and I didn't see an easy way to fix this. 2014-02-19 Tom Tromey * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_static_tracepoint_markers_by_strid. * target.h (struct target_ops) : Use TARGET_DEFAULT_NORETURN. --- 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 ca7ed5e..cd10f2f 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -711,7 +711,7 @@ update_current_target (void) /* Do not inherit to_get_tib_address. */ /* Do not inherit to_set_permissions. */ /* Do not inherit to_static_tracepoint_marker_at. */ - INHERIT (to_static_tracepoint_markers_by_strid, t); + /* Do not inherit to_static_tracepoint_markers_by_strid. */ INHERIT (to_traceframe_info, t); INHERIT (to_use_agent, t); INHERIT (to_can_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_markers_by_strid, - (VEC(static_tracepoint_marker_p) * (*) (struct target_ops *, - const char *)) - tcomplain); de_fault (to_traceframe_info, (struct traceframe_info * (*) (struct target_ops *)) return_null); -- cgit v1.1