* 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:
Doug Evans
2013-01-09 20:46:03 +00:00
parent b37df7c42d
commit da51c34722
5 changed files with 175 additions and 110 deletions

View File

@@ -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,