Remove target_has_all_memory

target_has_all_memory isn't used anywhere, so this patch removes it.

gdb/ChangeLog
2020-09-28  Tom Tromey  <tom@tromey.com>

	* target.c (target_has_all_memory_1): Remove.
	* target.h (target_has_all_memory): Remove define.
	(target_has_all_memory_1): Don't declare.
This commit is contained in:
Tom Tromey
2020-09-28 19:38:25 -06:00
parent 2714a459f8
commit 5b8a477608
3 changed files with 6 additions and 17 deletions

View File

@@ -169,16 +169,6 @@ show_targetdebug (struct ui_file *file, int from_tty,
fprintf_filtered (file, _("Target debugging is %s.\n"), value);
}
int
target_has_all_memory_1 (void)
{
for (target_ops *t = current_top_target (); t != NULL; t = t->beneath ())
if (t->has_all_memory ())
return 1;
return 0;
}
int
target_has_memory_1 (void)
{