aboutsummaryrefslogtreecommitdiff
path: root/gdb/quick-symbol.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-10-20 13:54:56 -0600
committerTom Tromey <tom@tromey.com>2022-12-19 08:05:14 -0700
commit6829683679ce66f3ff3aa184609afa59ac349637 (patch)
tree670d4555fc44771aaf950e0f5919343c29cebb71 /gdb/quick-symbol.h
parent975249ff4e260453217f4a98b1033b0c7a6e6dc5 (diff)
downloadfsf-binutils-gdb-6829683679ce66f3ff3aa184609afa59ac349637.zip
fsf-binutils-gdb-6829683679ce66f3ff3aa184609afa59ac349637.tar.gz
fsf-binutils-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/quick-symbol.h')
-rw-r--r--gdb/quick-symbol.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/quick-symbol.h b/gdb/quick-symbol.h
index c55989e..f4120b0 100644
--- a/gdb/quick-symbol.h
+++ b/gdb/quick-symbol.h
@@ -212,13 +212,6 @@ struct quick_symbol_functions
gdb::function_view<symbol_filename_ftype> fun,
bool need_fullname) = 0;
- /* This is called when the objfile is relocated. It can be used to
- clean up any internal caches. */
- virtual void relocated ()
- {
- /* Do nothing. */
- }
-
/* Return true if this class can lazily read the symbols. This may
only return true if there are in fact symbols to be read, because
this is used in the implementation of 'has_partial_symbols'. */