diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-13 20:49:26 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-13 20:49:26 +0000 |
commit | 58b6ab1339836b1684461bec9eb72682bc2972df (patch) | |
tree | 91438643eba1a6f44b3249c36e0b12565b36a9b8 /gdb/psymtab.c | |
parent | f5011d116d48751c5f60071625b3f85738083691 (diff) | |
download | gdb-58b6ab1339836b1684461bec9eb72682bc2972df.zip gdb-58b6ab1339836b1684461bec9eb72682bc2972df.tar.gz gdb-58b6ab1339836b1684461bec9eb72682bc2972df.tar.bz2 |
* symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook.
(basic_lookup_transparent_type): Likewise.
* symfile.h (struct quick_symbol_functions)
<pre_expand_symtabs_matching>: New field.
* psymtab.c (pre_expand_symtabs_matching_psymtabs): New function.
(psym_functions): Update.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 367cf1e..ca06130 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -421,6 +421,14 @@ 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) +{ + /* Nothing. */ +} + /* Look, in partial_symtab PST, for symbol whose natural name is NAME. Check the global symbols if GLOBAL, the static symbols if not. */ @@ -1199,6 +1207,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, print_psymtab_stats_for_objfile, dump_psymtabs_for_objfile, relocate_psymtabs, |