Add target_ops argument to to_trace_find

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* tracepoint.c (tfile_trace_find): Add 'self' argument.
	* target.h (struct target_ops) <to_trace_find>: Add argument.
	(target_trace_find): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_trace_find): Add 'self' argument.
	* ctf.c (ctf_trace_find): Add 'self' argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:41:52 -07:00
parent 74499f1bf2
commit bd4c67938f
6 changed files with 19 additions and 6 deletions

View file

@ -1633,7 +1633,7 @@ ctf_get_traceframe_address (void)
number in it. Return traceframe number when matched. */
static int
ctf_trace_find (enum trace_find_type type, int num,
ctf_trace_find (struct target_ops *self, enum trace_find_type type, int num,
CORE_ADDR addr1, CORE_ADDR addr2, int *tpp)
{
int ret = -1;