aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
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/symfile.h
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/symfile.h')
-rw-r--r--gdb/symfile.h27
1 files changed, 8 insertions, 19 deletions
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