Add target_ops argument to to_info_record

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

	* target.h (struct target_ops) <to_info_record>: Add argument.
	* target.c (target_info_record): Add argument.
	* record.c (info_record_command): Add argument.
	* record-full.c (record_full_info): Add 'self' argument.
	* record-btrace.c (record_btrace_info): Add 'self' argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:46:38 -07:00
parent c6cd7c02d1
commit 630d6a4ad3
6 changed files with 13 additions and 5 deletions

View file

@ -4283,7 +4283,7 @@ target_info_record (void)
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_info_record != NULL)
{
t->to_info_record ();
t->to_info_record (t);
return;
}