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/ctf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/ctf.c') diff --git a/gdb/ctf.c b/gdb/ctf.c index b2b0e86..79575a7 100644 --- a/gdb/ctf.c +++ b/gdb/ctf.c @@ -1516,7 +1516,8 @@ ctf_xfer_partial (struct target_ops *ops, enum target_object object, true, otherwise return false. */ static int -ctf_get_trace_state_variable_value (int tsvnum, LONGEST *val) +ctf_get_trace_state_variable_value (struct target_ops *self, + int tsvnum, LONGEST *val) { struct bt_iter_pos *pos; int found = 0; -- cgit v1.1