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

@ -883,7 +883,8 @@ update_current_target (void)
(void (*) (struct target_ops *))
tcomplain);
de_fault (to_trace_find,
(int (*) (enum trace_find_type, int, CORE_ADDR, CORE_ADDR, int *))
(int (*) (struct target_ops *,
enum trace_find_type, int, CORE_ADDR, CORE_ADDR, int *))
return_minus_one);
de_fault (to_get_trace_state_variable_value,
(int (*) (int, LONGEST *))