aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:41:15 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:22 -0700
commit8bd200f160af128f9e963490de816b6c98af2d1a (patch)
treee2a38004958157bb76521477d1c525517f673dc3 /gdb/tracepoint.c
parente2d1aae3726343725f2381a7fdca8647b6086584 (diff)
downloadgdb-8bd200f160af128f9e963490de816b6c98af2d1a.zip
gdb-8bd200f160af128f9e963490de816b6c98af2d1a.tar.gz
gdb-8bd200f160af128f9e963490de816b6c98af2d1a.tar.bz2
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.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 47b3190..d20a99e 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -4784,7 +4784,7 @@ tfile_files_info (struct target_ops *t)
/* The trace status for a file is that tracing can never be run. */
static int
-tfile_get_trace_status (struct trace_status *ts)
+tfile_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. */