aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:42:05 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:26 -0700
commit4011015ba220e1f55b4e105e9feb7eaf78703681 (patch)
treea5d9ad466519a42c64704e1799a9123b102683e8 /gdb/tracepoint.c
parentbd4c67938f9885f36df3d5d9635aba4e8870b95d (diff)
downloadgdb-4011015ba220e1f55b4e105e9feb7eaf78703681.zip
gdb-4011015ba220e1f55b4e105e9feb7eaf78703681.tar.gz
gdb-4011015ba220e1f55b4e105e9feb7eaf78703681.tar.bz2
Add target_ops argument to to_get_trace_state_variable_value
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' argument. * target.h (struct target_ops) <to_get_trace_state_variable_value>: Add argument. (target_get_trace_state_variable_value): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_trace_state_variable_value): Add 'self' argument. * ctf.c (ctf_get_trace_state_variable_value): 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 5d034b5..9021de0 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -5210,7 +5210,8 @@ tfile_xfer_partial (struct target_ops *ops, enum target_object object,
block with a matching tsv number. */
static int
-tfile_get_trace_state_variable_value (int tsvnum, LONGEST *val)
+tfile_get_trace_state_variable_value (struct target_ops *self,
+ int tsvnum, LONGEST *val)
{
int pos;
int found = 0;