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/cp-support.h | |
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/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index 51f808f..9e7458a 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -197,7 +197,8 @@ extern void cp_set_block_scope (const struct symbol *symbol, const char *processing_current_prefix, int processing_has_namespace_info); -extern void cp_scan_for_anonymous_namespaces (const struct symbol *symbol); +extern void cp_scan_for_anonymous_namespaces (const struct symbol *symbol, + struct objfile *objfile); extern struct symbol *cp_lookup_symbol_nonlocal (const char *name, const struct block *block, |