diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-28 19:38:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-28 19:52:21 -0600 |
commit | 5b8a477608a972184e03b6950965757a0d057543 (patch) | |
tree | 67412305de2226edfa7332f310e94151c29ed3a8 /gdb/target.c | |
parent | 2714a459f8b4d8a5db5f729b850cc1c1818807bd (diff) | |
download | binutils-5b8a477608a972184e03b6950965757a0d057543.zip binutils-5b8a477608a972184e03b6950965757a0d057543.tar.gz binutils-5b8a477608a972184e03b6950965757a0d057543.tar.bz2 |
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.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/target.c b/gdb/target.c index 9fd6b4b..6596efa 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -170,16 +170,6 @@ show_targetdebug (struct ui_file *file, int from_tty, } 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) { for (target_ops *t = current_top_target (); t != NULL; t = t->beneath ()) |