aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:17:35 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:01 -0700
commitd6522a229d3baf2659c63a65b60947dff58ea200 (patch)
tree25ec20c77603e02cfacd53d13fd3ef6ae05df27e /gdb/target.h
parent4c3e44251dcb59f096a4d27006c36ffcc0057398 (diff)
downloadgdb-d6522a229d3baf2659c63a65b60947dff58ea200.zip
gdb-d6522a229d3baf2659c63a65b60947dff58ea200.tar.gz
gdb-d6522a229d3baf2659c63a65b60947dff58ea200.tar.bz2
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 <tromey@redhat.com> * 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) <to_static_tracepoint_markers_by_strid>: Use TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 0969a82..457479e 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -942,8 +942,8 @@ struct target_ops
/* Return a vector of all tracepoints markers string id ID, or all
markers if ID is NULL. */
- VEC(static_tracepoint_marker_p) *(*to_static_tracepoint_markers_by_strid)
- (struct target_ops *, const char *id);
+ VEC(static_tracepoint_marker_p) *(*to_static_tracepoint_markers_by_strid) (struct target_ops *, const char *id)
+ TARGET_DEFAULT_NORETURN (tcomplain ());
/* Return a traceframe info object describing the current
traceframe's contents. If the target doesn't support