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

@ -4793,7 +4793,8 @@ tfile_get_trace_status (struct target_ops *self, struct trace_status *ts)
}
static void
tfile_get_tracepoint_status (struct breakpoint *tp, struct uploaded_tp *utp)
tfile_get_tracepoint_status (struct target_ops *self,
struct breakpoint *tp, struct uploaded_tp *utp)
{
/* Other bits of trace status were collected as part of opening the
trace files, so nothing to do here. */