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.
This commit is contained in:
parent
bd4c67938f
commit
4011015ba2
6 changed files with 23 additions and 6 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue