summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-09-08 17:17:41 +0000
committerTom Tromey <tromey@redhat.com>2010-09-08 17:17:41 +0000
commita9baaa9fc07d5682a8079889a3d42cd1caa17519 (patch)
tree801e6bc9840b2b3ff9e83582d50e93521da91255 /gdb/symfile.h
parent05b3e3b5f9dffb34f8e6fe18ab082a4da58168ac (diff)
downloadgdb-a9baaa9fc07d5682a8079889a3d42cd1caa17519.tar.gz
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 84b770d2f37..58153542db0 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