aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2011-10-20 20:06:14 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2011-10-20 20:06:14 +0000
commita10964d12c48edb3e0be45e2d67ad70a0e129601 (patch)
tree7ce39f159d51972645205e6861264103f6532631 /gdb/stabsread.c
parent9553db3cc35cec5cd502d061e8be9da898d825af (diff)
downloadgdb-a10964d12c48edb3e0be45e2d67ad70a0e129601.zip
gdb-a10964d12c48edb3e0be45e2d67ad70a0e129601.tar.gz
gdb-a10964d12c48edb3e0be45e2d67ad70a0e129601.tar.bz2
* cp-namespace.c (cp_scan_for_anonymous_namespaces): Changed function
arguments by adding OBJFILE. Instead of getting objfile from symbol's symtab, use new argument OBJFILE. * cp-support.h (cp_scan_for_anonymous_namespaces): Changed function arguments by adding OBJFILE. * gdb/dwarf2read.c (new_symbol_full): Change call to cp_scan_for_anonymous_namespaces to match new signature. * gdb/stabsread.c (define_symbol): Change call to cp_scan_for_anonymous_namespaces to match new signature.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 5331bce..3ff3f5e 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -729,7 +729,7 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
SYMBOL_SET_NAMES (sym, string, p - string, 1, objfile);
if (SYMBOL_LANGUAGE (sym) == language_cplus)
- cp_scan_for_anonymous_namespaces (sym);
+ cp_scan_for_anonymous_namespaces (sym, objfile);
}
p++;