+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (target_static_tracepoint_markers_by_strid): Add
+ argument.
+ (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
+ 'self' argument.
+ * target.c (update_current_target): Update.
+ * remote.c (struct target_ops)
+ <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
+ * linux-nat.c (struct target_ops)
+ <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
+
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_static_tracepoint_marker_at>:
}
static VEC(static_tracepoint_marker_p) *
-linux_child_static_tracepoint_markers_by_strid (const char *strid)
+linux_child_static_tracepoint_markers_by_strid (struct target_ops *self,
+ const char *strid)
{
char s[IPA_CMD_BUF_SIZE];
struct cleanup *old_chain;
}
static VEC(static_tracepoint_marker_p) *
-remote_static_tracepoint_markers_by_strid (const char *strid)
+remote_static_tracepoint_markers_by_strid (struct target_ops *self,
+ const char *strid)
{
struct remote_state *rs = get_remote_state ();
VEC(static_tracepoint_marker_p) *markers = NULL;
CORE_ADDR, struct static_tracepoint_marker *))
return_zero);
de_fault (to_static_tracepoint_markers_by_strid,
- (VEC(static_tracepoint_marker_p) * (*) (const char *))
+ (VEC(static_tracepoint_marker_p) * (*) (struct target_ops *,
+ const char *))
tcomplain);
de_fault (to_traceframe_info,
(struct traceframe_info * (*) (void))
/* 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)
- (const char *id);
+ (struct target_ops *, const char *id);
/* Return a traceframe info object describing the current
traceframe's contents. If the target doesn't support
addr, marker)
#define target_static_tracepoint_markers_by_strid(marker_id) \
- (*current_target.to_static_tracepoint_markers_by_strid) (marker_id)
+ (*current_target.to_static_tracepoint_markers_by_strid) (¤t_target, \
+ marker_id)
#define target_traceframe_info() \
(*current_target.to_traceframe_info) ()