aboutsummaryrefslogtreecommitdiff
path: root/gdb/addrmap.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-16 09:53:39 -0600
committerTom Tromey <tom@tromey.com>2022-06-12 10:49:48 -0600
commitd89120e9493281a60d6e7280e9cfa3741ea7e379 (patch)
treee86e76097e9013c870e47733158256f986e18b71 /gdb/addrmap.h
parent10cce2c44190c0d822c593c221f7ffa2ea20f246 (diff)
downloadgdb-d89120e9493281a60d6e7280e9cfa3741ea7e379.zip
gdb-d89120e9493281a60d6e7280e9cfa3741ea7e379.tar.gz
gdb-d89120e9493281a60d6e7280e9cfa3741ea7e379.tar.bz2
Remove addrmap::create_fixed
addrmap::create_fixed is just a simple wrapper for 'new', so remove it in favor of uses of 'new'.
Diffstat (limited to 'gdb/addrmap.h')
-rw-r--r--gdb/addrmap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/addrmap.h b/gdb/addrmap.h
index 8794f1f..a3b1d6a 100644
--- a/gdb/addrmap.h
+++ b/gdb/addrmap.h
@@ -87,10 +87,6 @@ struct addrmap : public allocate_on_obstack
/* Return the object associated with ADDR in MAP. */
virtual void *find (CORE_ADDR addr) const = 0;
- /* Create a fixed address map which is a copy of this mutable
- address map. Allocate entries in OBSTACK. */
- virtual struct addrmap *create_fixed (struct obstack *obstack) = 0;
-
/* Relocate all the addresses in MAP by OFFSET. (This can be applied
to either mutable or immutable maps.) */
virtual void relocate (CORE_ADDR offset) = 0;
@@ -115,7 +111,6 @@ public:
void set_empty (CORE_ADDR start, CORE_ADDR end_inclusive,
void *obj) override;
void *find (CORE_ADDR addr) const override;
- struct addrmap *create_fixed (struct obstack *obstack) override;
void relocate (CORE_ADDR offset) override;
int foreach (addrmap_foreach_fn fn) override;
@@ -153,7 +148,6 @@ public:
void set_empty (CORE_ADDR start, CORE_ADDR end_inclusive,
void *obj) override;
void *find (CORE_ADDR addr) const override;
- struct addrmap *create_fixed (struct obstack *obstack) override;
void relocate (CORE_ADDR offset) override;
int foreach (addrmap_foreach_fn fn) override;