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

@ -287,7 +287,7 @@ info_record_command (char *args, int from_tty)
printf_filtered (_("Active record target: %s\n"), t->to_shortname);
if (t->to_info_record != NULL)
t->to_info_record ();
t->to_info_record (t);
}
/* The "record save" command. */