Add target_ops argument to to_static_tracepoint_markers_by_strid

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.
This commit is contained in:
Tom Tromey
2013-12-17 21:44:45 -07:00
parent 61fc905df3
commit c686c57f02
5 changed files with 21 additions and 5 deletions

View File

@@ -2918,7 +2918,8 @@ remote_static_tracepoint_marker_at (struct target_ops *self, CORE_ADDR addr,
}
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;