diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:42:05 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:26 -0700 |
commit | 4011015ba220e1f55b4e105e9feb7eaf78703681 (patch) | |
tree | a5d9ad466519a42c64704e1799a9123b102683e8 /gdb/ctf.c | |
parent | bd4c67938f9885f36df3d5d9635aba4e8870b95d (diff) | |
download | gdb-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/ctf.c')
-rw-r--r-- | gdb/ctf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |