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

@ -1837,7 +1837,7 @@ ctf_traceframe_info (void)
The trace status for a file is that tracing can never be run. */
static int
ctf_get_trace_status (struct trace_status *ts)
ctf_get_trace_status (struct target_ops *self, struct trace_status *ts)
{
/* Other bits of trace status were collected as part of opening the
trace files, so nothing to do here. */