change to_info_record to use target delegation

This changes to_info_record to use target delegation.
Also, target_info_record was unused, so this patch removes it.

2014-07-07  Tom Tromey  <tromey@redhat.com>

	* target-delegates.c: Rebuild.
	* target.c (target_info_record): Remove.
	* record.c (info_record_command): Unconditionally call
	to_info_record.
	* target.h (struct target_ops) <to_info_record>: Use
	TARGET_DEFAULT_IGNORE.
	(target_info_record): Remove.
This commit is contained in:
Tom Tromey 2014-06-25 10:23:35 -06:00
parent f0f9ff9530
commit 38e229b2b3
4 changed files with 13 additions and 23 deletions

View file

@ -285,8 +285,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);
t->to_info_record (t);
}
/* The "record save" command. */