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:
Tom Tromey
2013-12-17 21:46:25 -07:00
parent 39c49f83b6
commit c6cd7c02d1
5 changed files with 12 additions and 4 deletions

View File

@@ -4266,7 +4266,7 @@ target_stop_recording (void)
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_stop_recording != NULL)
{
t->to_stop_recording ();
t->to_stop_recording (t);
return;
}