From 90160b57032ce8c2d12864a53036bab2c5b86682 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 17 Apr 2021 09:35:04 -0600 Subject: Remove quick_symbol_functions::expand_symtabs_with_fullname This removes quick_symbol_functions::expand_symtabs_with_fullname, replacing it with a call to expand_symtabs_matching. As with the previous patches, the implementation is consolidated in the objfile method. gdb/ChangeLog 2021-04-17 Tom Tromey * quick-symbol.h (struct quick_symbol_functions) : Remove. * psymtab.c (psymbol_functions::expand_symtabs_with_fullname): Remove. * psympriv.h (struct psymbol_functions) : Remove. * dwarf2/read.c (struct dwarf2_base_index_functions) : Remove. (dwarf2_base_index_functions::expand_symtabs_with_fullname): Remove. * objfiles.h (struct objfile) : Update comment. * symfile-debug.c (objfile::expand_symtabs_with_fullname): Rewrite. --- gdb/psympriv.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/psympriv.h') diff --git a/gdb/psympriv.h b/gdb/psympriv.h index 4bd6dec..a539571 100644 --- a/gdb/psympriv.h +++ b/gdb/psympriv.h @@ -518,9 +518,6 @@ struct psymbol_functions : public quick_symbol_functions void expand_all_symtabs (struct objfile *objfile) override; - void expand_symtabs_with_fullname (struct objfile *objfile, - const char *fullname) override; - void map_matching_symbols (struct objfile *, const lookup_name_info &lookup_name, -- cgit v1.1