diff options
author | Tom Tromey <tromey@redhat.com> | 2010-09-01 21:50:26 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-09-01 21:50:26 +0000 |
commit | faf68db74604495d6182c228a9dee68a3be50530 (patch) | |
tree | 6e58c4e361ce43acb0deb8f7f8ae88794f535e84 /gdb/symtab.h | |
parent | 248c9dbc16860034ae6848b04fffe524e2b8cd38 (diff) | |
download | fsf-binutils-gdb-faf68db74604495d6182c228a9dee68a3be50530.zip fsf-binutils-gdb-faf68db74604495d6182c228a9dee68a3be50530.tar.gz fsf-binutils-gdb-faf68db74604495d6182c228a9dee68a3be50530.tar.bz2 |
* symtab.h (lookup_type_symbol): Declare.
* symtab.c (lookup_symbol_in_language_full): Rename from
lookup_symbol_in_language. Add 'for_type' argument.
(lookup_symbol_in_language): New function.
(lookup_type_symbol): Likewise.
(lookup_symbol_aux): Add 'for_type' argument.
(match_symbol_aux): New function.
(lookup_symbol_aux_symtabs): Use expand_one_symtab_matching.
(match_transparent_type): New function.
(basic_lookup_transparent_type): Use expand_one_symtab_matching.
* symfile.h (struct quick_symbol_functions)
<pre_expand_symtabs_matching>: Remove.
<expand_one_symtab_matching>: New field.
* psymtab.c (expand_one_symtab_matching_psymtabs): New function.
(pre_expand_symtabs_matching_psymtabs): Remove.
(psym_functions): Update.
* gdbtypes.c (lookup_typename): Use lookup_type_symbol.
* dwarf2read.c (dw2_lookup_symbol): Update comment.
(dw2_pre_expand_symtabs_matching): Remove.
(dw2_expand_one_symtab_matching): New function.
(dwarf2_gdb_index_functions): Update.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 04cb443..f96c3f4 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -977,6 +977,10 @@ extern int find_pc_line_pc_range (CORE_ADDR, CORE_ADDR *, CORE_ADDR *); extern void reread_symbols (void); +extern struct symbol *lookup_type_symbol (const char* name, + const struct block *block, + const domain_enum domain, + enum language lang); extern struct type *lookup_transparent_type (const char *); extern struct type *basic_lookup_transparent_type (const char *); |