summaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index a5d2f989585..b1a7fc9581f 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -426,12 +426,18 @@ lookup_symbol_aux_psymtabs (struct objfile *objfile,
return NULL;
}
-static void
-pre_expand_symtabs_matching_psymtabs (struct objfile *objfile,
- int kind, const char *name,
- domain_enum domain)
+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)
{
- /* Nothing. */
+ return NULL;
}
/* Look, in partial_symtab PST, for symbol whose natural name is NAME.
@@ -1212,7 +1218,7 @@ const struct quick_symbol_functions psym_functions =
forget_cached_source_info_partial,
lookup_symtab_via_partial_symtab,
lookup_symbol_aux_psymtabs,
- pre_expand_symtabs_matching_psymtabs,
+ expand_one_symtab_matching_psymtabs,
print_psymtab_stats_for_objfile,
dump_psymtabs_for_objfile,
relocate_psymtabs,