From 7089bd886ec78d623c3188cac48c039bc5eaf3b6 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_for_function This removes quick_symbol_functions::expand_symtabs_for_function, 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 * symfile-debug.c (objfile::expand_symtabs_for_function): Rewrite. * quick-symbol.h (struct quick_symbol_functions) : Remove. * psymtab.c (psymbol_functions::expand_symtabs_for_function): Remove. * psympriv.h (struct psymbol_functions) : Remove. * objfiles.h (struct objfile) : Update comment. * dwarf2/read.c (struct dwarf2_gdb_index) : Remove. (struct dwarf2_debug_names_index) : Remove. (find_slot_in_mapped_hash): Remove. (dw2_symtab_iter_init_common): Merge with dw2_symtab_iter_init. (dw2_symtab_iter_init): Remove one overload. (dwarf2_gdb_index::expand_symtabs_for_function) (dwarf2_debug_names_index::expand_symtabs_for_function): Remove. --- gdb/ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 78e7795..88e8790 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,27 @@ 2021-04-17 Tom Tromey + * symfile-debug.c (objfile::expand_symtabs_for_function): + Rewrite. + * quick-symbol.h (struct quick_symbol_functions) + : Remove. + * psymtab.c (psymbol_functions::expand_symtabs_for_function): + Remove. + * psympriv.h (struct psymbol_functions) + : Remove. + * objfiles.h (struct objfile) : + Update comment. + * dwarf2/read.c (struct dwarf2_gdb_index) + : Remove. + (struct dwarf2_debug_names_index) : + Remove. + (find_slot_in_mapped_hash): Remove. + (dw2_symtab_iter_init_common): Merge with dw2_symtab_iter_init. + (dw2_symtab_iter_init): Remove one overload. + (dwarf2_gdb_index::expand_symtabs_for_function) + (dwarf2_debug_names_index::expand_symtabs_for_function): Remove. + +2021-04-17 Tom Tromey + * symfile-debug.c (objfile::map_symtabs_matching_filename): Rewrite. * quick-symbol.h (struct quick_symbol_functions) -- cgit v1.1