Don't ignore domain in nested lookups.

gdb/ChangeLog:

	* cp-namespace.c (cp_lookup_nested_symbol): New arg "domain".
	All callers updated.
	(cp_lookup_nested_symbol_1, find_symbol_in_baseclass): Ditto.
	* cp-support.h (cp_lookup_nested_symbol): Update.
This commit is contained in:
Doug Evans
2015-05-27 12:17:37 -07:00
parent b2e2f908b8
commit 4dcabcc2b5
4 changed files with 34 additions and 19 deletions

View File

@ -211,7 +211,8 @@ extern struct symbol *cp_lookup_symbol_imports_or_template
extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
const char *nested_name,
const struct block *block);
const struct block *block,
const domain_enum domain);
struct type *cp_lookup_transparent_type (const char *name);