* 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.
This commit is contained in:
Aleksandar Ristovski
2011-10-20 20:06:14 +00:00
parent 9553db3cc3
commit a10964d12c
5 changed files with 19 additions and 5 deletions

View File

@ -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,