Add target_ops argument to to_get_trace_status

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

	* tracepoint.c (tfile_get_trace_status): Add 'self' argument.
	* target.h (struct target_ops) <to_get_trace_status>: Add
	argument.
	(target_get_trace_status): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_get_trace_status): Add 'self' argument.
	(remote_start_remote, remote_can_download_tracepoint): Update.
	* ctf.c (ctf_get_trace_status): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:41:15 -07:00
parent e2d1aae372
commit 8bd200f160
6 changed files with 22 additions and 10 deletions

View File

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