diff options
author | Doug Evans <dje@google.com> | 2013-01-09 20:46:03 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-01-09 20:46:03 +0000 |
commit | da51c3472290253124329257bffc2a40bf44c41a (patch) | |
tree | c109640e8b7c7c98359791b26b6a8914bbd130dc /gdb/symtab.c | |
parent | b37df7c42de167ce1a01ff6d98d90792f9d9543d (diff) | |
download | gdb-da51c3472290253124329257bffc2a40bf44c41a.zip gdb-da51c3472290253124329257bffc2a40bf44c41a.tar.gz gdb-da51c3472290253124329257bffc2a40bf44c41a.tar.bz2 |
* symfile.h (quick_symbol_functions): Delete member
pre_expand_symtabs_matching. All uses removed.
* dwarf2read.c (dw2_lookup_symbol): Implement.
(dw2_do_expand_symtabs_matching): Delete.
(dw2_pre_expand_symtabs_matching): Delete.
(struct dw2_symtab_iterator): New type.
(dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
(dw2_expand_symtabs_for_function): Rewrite.
(dwarf2_gdb_index_functions): Update.
* psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
(psym_functions): Update.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 8e14344..f4ed8b9 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1551,10 +1551,6 @@ lookup_symbol_aux_objfile (struct objfile *objfile, int block_index, const struct block *block; struct symtab *s; - if (objfile->sf) - objfile->sf->qf->pre_expand_symtabs_matching (objfile, block_index, - name, domain); - ALL_OBJFILE_PRIMARY_SYMTABS (objfile, s) { bv = BLOCKVECTOR (s); @@ -1912,11 +1908,6 @@ basic_lookup_transparent_type (const char *name) ALL_OBJFILES (objfile) { - if (objfile->sf) - objfile->sf->qf->pre_expand_symtabs_matching (objfile, - GLOBAL_BLOCK, - name, STRUCT_DOMAIN); - ALL_OBJFILE_PRIMARY_SYMTABS (objfile, s) { bv = BLOCKVECTOR (s); @@ -1945,10 +1936,6 @@ basic_lookup_transparent_type (const char *name) ALL_OBJFILES (objfile) { - if (objfile->sf) - objfile->sf->qf->pre_expand_symtabs_matching (objfile, STATIC_BLOCK, - name, STRUCT_DOMAIN); - ALL_OBJFILE_PRIMARY_SYMTABS (objfile, s) { bv = BLOCKVECTOR (s); |