forked from Imagelibrary/binutils-gdb
* symfile.h (quick_symbol_functions): Delete member
pre_expand_symtabs_matching. All uses removed. * dwarf2read.c (dw2_lookup_symbol): Implement. (dw2_do_expand_symtabs_matching): Delete. (dw2_pre_expand_symtabs_matching): Delete. (struct dw2_symtab_iterator): New type. (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. (dw2_expand_symtabs_for_function): Rewrite. (dwarf2_gdb_index_functions): Update. * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. (psym_functions): Update.
This commit is contained in:
@@ -628,15 +628,6 @@ match_partial_symbol (struct objfile *objfile,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
pre_expand_symtabs_matching_psymtabs (struct objfile *objfile,
|
||||
enum block_enum block_kind,
|
||||
const char *name,
|
||||
domain_enum domain)
|
||||
{
|
||||
/* Nothing. */
|
||||
}
|
||||
|
||||
/* Returns the name used to search psymtabs. Unlike symtabs, psymtabs do
|
||||
not contain any method/function instance information (since this would
|
||||
force reading type information while reading psymtabs). Therefore,
|
||||
@@ -1428,7 +1419,6 @@ const struct quick_symbol_functions psym_functions =
|
||||
forget_cached_source_info_partial,
|
||||
partial_map_symtabs_matching_filename,
|
||||
lookup_symbol_aux_psymtabs,
|
||||
pre_expand_symtabs_matching_psymtabs,
|
||||
print_psymtab_stats_for_objfile,
|
||||
dump_psymtabs_for_objfile,
|
||||
relocate_psymtabs,
|
||||
|
||||
Reference in New Issue
Block a user