diff options
author | Tom Tromey <tom@tromey.com> | 2022-10-20 13:54:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-12-19 08:05:14 -0700 |
commit | 6829683679ce66f3ff3aa184609afa59ac349637 (patch) | |
tree | 670d4555fc44771aaf950e0f5919343c29cebb71 /gdb/psympriv.h | |
parent | 975249ff4e260453217f4a98b1033b0c7a6e6dc5 (diff) | |
download | gdb-6829683679ce66f3ff3aa184609afa59ac349637.zip gdb-6829683679ce66f3ff3aa184609afa59ac349637.tar.gz gdb-6829683679ce66f3ff3aa184609afa59ac349637.tar.bz2 |
Remove quick_symbol_functions::relocated
quick_symbol_functions::relocated is only needed for psymtabs, and
there it is only needed for Rust. However, because we've switched the
DWARF reader away from psymtabs, this means there's no longer a need
for this method at all.
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r-- | gdb/psympriv.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h index 61fb5c0..8dc79e9 100644 --- a/gdb/psympriv.h +++ b/gdb/psympriv.h @@ -536,17 +536,15 @@ struct psymbol_functions : public quick_symbol_functions CORE_ADDR pc, struct obj_section *section, int warn_if_readin) override; struct compunit_symtab *find_compunit_symtab_by_address - (struct objfile *objfile, CORE_ADDR address) override; + (struct objfile *objfile, CORE_ADDR address) override + { + return nullptr; + } void map_symbol_filenames (struct objfile *objfile, gdb::function_view<symbol_filename_ftype> fun, bool need_fullname) override; - void relocated () override - { - m_psymbol_map.clear (); - } - /* Return a range adapter for the psymtabs. */ psymtab_storage::partial_symtab_range partial_symbols (struct objfile *objfile); @@ -588,11 +586,6 @@ private: /* Storage for the partial symbols. */ std::shared_ptr<psymtab_storage> m_partial_symtabs; - - /* Map symbol addresses to the partial symtab that defines the - object at that address. */ - - std::vector<std::pair<CORE_ADDR, partial_symtab *>> m_psymbol_map; }; #endif /* PSYMPRIV_H */ |