forked from Imagelibrary/binutils-gdb
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:
10
gdb/target.c
10
gdb/target.c
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user