aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:41:27 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:23 -0700
commitdb90e85c816768fbe50c79477cd596071349af9c (patch)
tree3591c8997d8f95f9c1cb1674a2d0d4551f4b0591 /gdb/tracepoint.c
parent8bd200f160af128f9e963490de816b6c98af2d1a (diff)
downloadgdb-db90e85c816768fbe50c79477cd596071349af9c.zip
gdb-db90e85c816768fbe50c79477cd596071349af9c.tar.gz
gdb-db90e85c816768fbe50c79477cd596071349af9c.tar.bz2
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.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index d20a99e..6698dd6 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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. */