Add target_ops argument to to_get_tracepoint_status

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

	* tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
	* target.h (struct target_ops) <to_get_tracepoint_status>: Add
	argument.
	(target_get_tracepoint_status): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_get_tracepoint_status): Add 'self' argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:41:27 -07:00
parent 8bd200f160
commit db90e85c81
5 changed files with 17 additions and 5 deletions

View file

@ -876,7 +876,8 @@ update_current_target (void)
(int (*) (struct target_ops *, struct trace_status *))
return_minus_one);
de_fault (to_get_tracepoint_status,
(void (*) (struct breakpoint *, struct uploaded_tp *))
(void (*) (struct target_ops *, struct breakpoint *,
struct uploaded_tp *))
tcomplain);
de_fault (to_trace_stop,
(void (*) (void))