diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2011-10-20 20:06:14 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2011-10-20 20:06:14 +0000 |
commit | a10964d12c48edb3e0be45e2d67ad70a0e129601 (patch) | |
tree | 7ce39f159d51972645205e6861264103f6532631 /gdb/dwarf2read.c | |
parent | 9553db3cc35cec5cd502d061e8be9da898d825af (diff) | |
download | gdb-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.c | 2 |
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); } |