aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-09-08 17:17:42 +0000
committerTom Tromey <tromey@redhat.com>2010-09-08 17:17:42 +0000
commit774b6a14e005ee2ba726d5dc655faf67a15bc7de (patch)
tree9dae46abd33023f683cd18ac4639ec26004bb614 /gdb/psymtab.c
parent7f8cd8440375de26ebca766ab281c34522262b53 (diff)
downloadgdb-774b6a14e005ee2ba726d5dc655faf67a15bc7de.zip
gdb-774b6a14e005ee2ba726d5dc655faf67a15bc7de.tar.gz
gdb-774b6a14e005ee2ba726d5dc655faf67a15bc7de.tar.bz2
Revert:
2010-09-01 Tom Tromey <tromey@redhat.com> * dwarf2read.c, gdbtypes.c, psymtab.c, symfile.h, symtab.c, symtab.h: Revert earlier change.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index f805d6f..2f1bfc6 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -426,18 +426,12 @@ lookup_symbol_aux_psymtabs (struct objfile *objfile,
return NULL;
}
-static struct symbol *
-expand_one_symtab_matching_psymtabs (struct objfile *objfile,
- int kind, const char *name,
- domain_enum domain,
- struct symbol *(*matcher) (struct symtab *,
- int,
- const char *,
- domain_enum,
- void *),
- void *data)
+static void
+pre_expand_symtabs_matching_psymtabs (struct objfile *objfile,
+ int kind, const char *name,
+ domain_enum domain)
{
- return NULL;
+ /* Nothing. */
}
/* Look, in partial_symtab PST, for symbol whose natural name is NAME.
@@ -1218,7 +1212,7 @@ const struct quick_symbol_functions psym_functions =
forget_cached_source_info_partial,
lookup_symtab_via_partial_symtab,
lookup_symbol_aux_psymtabs,
- expand_one_symtab_matching_psymtabs,
+ pre_expand_symtabs_matching_psymtabs,
print_psymtab_stats_for_objfile,
dump_psymtabs_for_objfile,
relocate_psymtabs,