aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-16 10:19:41 -0600
committerTom Tromey <tom@tromey.com>2022-06-12 10:49:48 -0600
commit32681b482a3a38e240100ddd00280a3db5716874 (patch)
treedd21d4397f47421c4e31923b8f2250ee27ae2f1d /gdb/dwarf2
parent93b527ef787b7c98611abd21bdd77de6c41769f1 (diff)
downloadgdb-32681b482a3a38e240100ddd00280a3db5716874.zip
gdb-32681b482a3a38e240100ddd00280a3db5716874.tar.gz
gdb-32681b482a3a38e240100ddd00280a3db5716874.tar.bz2
Remove psymtab_addrmap
While working on addrmaps, I noticed that psymtab_addrmap is no longer needed now. It was introduced in ancient times as an optimization for DWARF, but no other symbol reader was ever updated to use it. Now that DWARF does not use psymtabs, it can be deleted.
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r--gdb/dwarf2/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index d3e6db4..64cb8d4 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -2257,7 +2257,7 @@ create_signatured_type_table_from_debug_names
}
/* Read the address map data from the mapped index, and use it to
- populate the psymtabs_addrmap. */
+ populate the index_addrmap. */
static void
create_addrmap_from_index (dwarf2_per_objfile *per_objfile,
@@ -2485,7 +2485,7 @@ read_addrmap_from_aranges (dwarf2_per_objfile *per_objfile,
}
/* Read the address map data from DWARF-5 .debug_aranges, and use it to
- populate the psymtabs_addrmap. */
+ populate the index_addrmap. */
static void
create_addrmap_from_aranges (dwarf2_per_objfile *per_objfile,