Add target_ops argument to to_delete_record

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_delete_record>: Add argument.
	* target.c (target_delete_record): Add argument.
	* record-full.c (record_full_delete): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:47:02 -07:00
parent 1390f5296f
commit d1b55219eb
4 changed files with 9 additions and 3 deletions

View File

@ -4331,7 +4331,7 @@ target_delete_record (void)
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_delete_record != NULL)
{
t->to_delete_record ();
t->to_delete_record (t);
return;
}