aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.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/dwarf2read.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/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 5f81da6..0f9f382 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -11992,7 +11992,7 @@ new_symbol_full (struct die_info *die, struct type *type, struct dwarf2_cu *cu,
namespaces based on the demangled name. */
if (!processing_has_namespace_info
&& cu->language == language_cplus)
- cp_scan_for_anonymous_namespaces (sym);
+ cp_scan_for_anonymous_namespaces (sym, objfile);
}
return (sym);
}