From 774b6a14e005ee2ba726d5dc655faf67a15bc7de Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 8 Sep 2010 17:17:42 +0000 Subject: Revert: 2010-09-01 Tom Tromey * dwarf2read.c, gdbtypes.c, psymtab.c, symfile.h, symtab.c, symtab.h: Revert earlier change. --- gdb/symfile.h | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'gdb/symfile.h') diff --git a/gdb/symfile.h b/gdb/symfile.h index 84b770d..5815354 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -171,25 +171,14 @@ struct quick_symbol_functions int kind, const char *name, domain_enum domain); - /* Expand each symbol table in OBJFILE that may have items matching - KIND, NAME, and DOMAIN -- these arguments are as for - `lookup_symbol'. For each such symbol table, call MATCHER with - the symbol table and DATA arguments. If MATCHER returns NULL, - keep going. Otherwise, return the result of MATCHER. If MATCHER - never returns non-NULL, return NULL. A backend can choose to - implement this and then have its `lookup_symbol' hook always - return NULL, or the reverse. (It doesn't make sense to implement - both.) */ - struct symbol *(*expand_one_symtab_matching) - (struct objfile *objfile, - int kind, const char *name, - domain_enum domain, - struct symbol *(*matcher) (struct symtab *symtab, - int kind, - const char *name, - domain_enum domain, - void *data), - void *data); + /* This is called to expand symbol tables before looking up a + symbol. A backend can choose to implement this and then have its + `lookup_symbol' hook always return NULL, or the reverse. (It + doesn't make sense to implement both.) The arguments are as for + `lookup_symbol'. */ + void (*pre_expand_symtabs_matching) (struct objfile *objfile, + int kind, const char *name, + domain_enum domain); /* Print statistics about any indices loaded for OBJFILE. The statistics should be printed to gdb_stdout. This is used for -- cgit v1.1