aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-support.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-01-21 16:55:49 +0000
committerDaniel Jacobowitz <drow@false.org>2007-01-21 16:55:49 +0000
commit113096576766ad92cfa059437ea6d370ceecd0cf (patch)
treeb8ec169c01ccb3d15cc19117b1b4845566a12b9c /gdb/cp-support.c
parentcb1df416fb6d2cc4837a8f81c5f102821c02db93 (diff)
downloadgdb-113096576766ad92cfa059437ea6d370ceecd0cf.zip
gdb-113096576766ad92cfa059437ea6d370ceecd0cf.tar.gz
gdb-113096576766ad92cfa059437ea6d370ceecd0cf.tar.bz2
* objfiles.h (ALL_PRIMARY_SYMTABS): Define.
* ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. * cp-support.c (make_symbol_overload_list_qualified): Likewise. * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) (make_symbol_completion_list): Likewise.
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r--gdb/cp-support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 7c3f8ab..e694ad6 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -750,7 +750,7 @@ make_symbol_overload_list_qualified (const char *func_name)
/* Go through the symtabs and check the externs and statics for
symbols which match. */
- ALL_SYMTABS (objfile, s)
+ ALL_PRIMARY_SYMTABS (objfile, s)
{
QUIT;
b = BLOCKVECTOR_BLOCK (BLOCKVECTOR (s), GLOBAL_BLOCK);
@@ -764,7 +764,7 @@ make_symbol_overload_list_qualified (const char *func_name)
}
}
- ALL_SYMTABS (objfile, s)
+ ALL_PRIMARY_SYMTABS (objfile, s)
{
QUIT;
b = BLOCKVECTOR_BLOCK (BLOCKVECTOR (s), STATIC_BLOCK);