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.
+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.
+
2020-09-28 Simon Marchi <simon.marchi@polymtl.ca>
* ser-base.c: Adjust comments formatting.
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)
{
(current_top_target ()->rcmd) (command, outbuf)
-/* Does the target include all of memory, or only part of it? This
- determines whether we look up the target chain for other parts of
- memory if this target can't satisfy a request. */
-
-extern int target_has_all_memory_1 (void);
-#define target_has_all_memory target_has_all_memory_1 ()
-
/* Does the target include memory? (Dummy targets don't.) */
extern int target_has_memory_1 (void);