From 4011015ba220e1f55b4e105e9feb7eaf78703681 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:42:05 -0700 Subject: Add target_ops argument to to_get_trace_state_variable_value 2014-02-19 Tom Tromey * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' argument. * target.h (struct target_ops) : 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. --- gdb/tracepoint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/tracepoint.c') 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; -- cgit v1.1