aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-01-09 20:46:03 +0000
committerDoug Evans <dje@google.com>2013-01-09 20:46:03 +0000
commitda51c3472290253124329257bffc2a40bf44c41a (patch)
treec109640e8b7c7c98359791b26b6a8914bbd130dc /gdb/psymtab.c
parentb37df7c42de167ce1a01ff6d98d90792f9d9543d (diff)
downloadgdb-da51c3472290253124329257bffc2a40bf44c41a.zip
gdb-da51c3472290253124329257bffc2a40bf44c41a.tar.gz
gdb-da51c3472290253124329257bffc2a40bf44c41a.tar.bz2
* 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.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index d683e53..acbdd6a 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -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,