aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.h
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/psymtab.h
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/psymtab.h')
-rw-r--r--gdb/psymtab.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/psymtab.h b/gdb/psymtab.h
index 70eb3e2..68ef99e 100644
--- a/gdb/psymtab.h
+++ b/gdb/psymtab.h
@@ -121,17 +121,6 @@ public:
struct partial_symtab *psymtabs = nullptr;
- /* Map addresses to the entries of PSYMTABS. It would be more efficient to
- have a map per the whole process but ADDRMAP cannot selectively remove
- its items during FREE_OBJFILE. This mapping is already present even for
- PARTIAL_SYMTABs which still have no corresponding full SYMTABs read.
-
- The DWARF parser reuses this addrmap to store things other than
- psymtabs in the cases where debug information is being read from, for
- example, the .debug-names section. */
-
- struct addrmap *psymtabs_addrmap = nullptr;
-
/* A byte cache where we can stash arbitrary "chunks" of bytes that
will not change. */