aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-16 09:48:12 -0600
committerTom Tromey <tom@tromey.com>2022-06-12 10:49:48 -0600
commit10cce2c44190c0d822c593c221f7ffa2ea20f246 (patch)
treef0656de9650de9ea225a273c5c04f3ddcbd42cbe /gdb/buildsym.h
parent769520b7e5c3a6a941969b3b3c52fa04edf73295 (diff)
downloadgdb-10cce2c44190c0d822c593c221f7ffa2ea20f246.zip
gdb-10cce2c44190c0d822c593c221f7ffa2ea20f246.tar.gz
gdb-10cce2c44190c0d822c593c221f7ffa2ea20f246.tar.bz2
Remove addrmap_create_mutable
This removes addrmap_create_mutable in favor of using 'new' at the spots where the addrmap is created.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index ee75e6f..c1cd519 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -385,7 +385,7 @@ private:
/* The mutable address map for the compilation unit whose symbols
we're currently reading. The symtabs' shared blockvector will
point to a fixed copy of this. */
- struct addrmap *m_pending_addrmap = nullptr;
+ struct addrmap_mutable *m_pending_addrmap = nullptr;
/* The obstack on which we allocate pending_addrmap.
If pending_addrmap is NULL, this is uninitialized; otherwise, it is