Add target_ops argument to to_stop_recording
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_stop_recording>: Add argument. * target.c (target_stop_recording): Add argument. * record.c (record_stop): Add argument. * record-btrace.c (record_btrace_stop_recording): Add 'self' argument.
This commit is contained in:
parent
39c49f83b6
commit
c6cd7c02d1
5 changed files with 12 additions and 4 deletions
|
@ -115,7 +115,7 @@ record_stop (struct target_ops *t)
|
|||
DEBUG ("stop %s", t->to_shortname);
|
||||
|
||||
if (t->to_stop_recording != NULL)
|
||||
t->to_stop_recording ();
|
||||
t->to_stop_recording (t);
|
||||
}
|
||||
|
||||
/* Unpush the record target. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue