diff options
author | Tom Tromey <tom@tromey.com> | 2021-04-17 09:35:04 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-04-17 09:35:06 -0600 |
commit | 536a40f3a8d2c18aae18a9137b838ff2accdfc08 (patch) | |
tree | d498eab42e09269d72816d31091eb55e083cc1b1 /gdb/psympriv.h | |
parent | 84d865e39c3739097d7a3481b9c9b6b6fecb2b06 (diff) | |
download | gdb-536a40f3a8d2c18aae18a9137b838ff2accdfc08.zip gdb-536a40f3a8d2c18aae18a9137b838ff2accdfc08.tar.gz gdb-536a40f3a8d2c18aae18a9137b838ff2accdfc08.tar.bz2 |
Remove quick_symbol_functions::map_symtabs_matching_filename
This replaces quick_symbol_functions::map_symtabs_matching_filename
with a call to expand_symtabs_matching. As with the previous patch,
rather than update all callers, the implementation is consolidated in
objfile::map_symtabs_matching_filename.
gdb/ChangeLog
2021-04-17 Tom Tromey <tom@tromey.com>
* symfile-debug.c (objfile::map_symtabs_matching_filename):
Rewrite.
* quick-symbol.h (struct quick_symbol_functions)
<map_symtabs_matching_filename>: Remove.
* psymtab.c (partial_map_expand_apply)
(psymbol_functions::map_symtabs_matching_filename): Remove.
* psympriv.h (struct psymbol_functions)
<map_symtabs_matching_filename>: Remove.
* objfiles.h (struct objfile) <map_symtabs_matching_filename>:
Update comment.
* dwarf2/read.c (struct dwarf2_base_index_functions)
<map_symtabs_matching_filename>: Remove.
(dw2_map_expand_apply)
(dwarf2_base_index_functions::map_symtabs_matching_filename):
Remove.
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r-- | gdb/psympriv.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h index 9d1375b..3c17447 100644 --- a/gdb/psympriv.h +++ b/gdb/psympriv.h @@ -507,10 +507,6 @@ struct psymbol_functions : public quick_symbol_functions void forget_cached_source_info (struct objfile *objfile) override; - bool map_symtabs_matching_filename - (struct objfile *objfile, const char *name, const char *real_path, - gdb::function_view<bool (symtab *)> callback) override; - enum language lookup_global_symbol_language (struct objfile *objfile, const char *name, domain_enum domain, |