diff options
author | Doug Evans <dje@google.com> | 2015-05-27 12:17:37 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-05-27 12:17:37 -0700 |
commit | 4dcabcc2b5d82dca1089f87e5830a8cd3b5a4bd6 (patch) | |
tree | 6dc6ffe80890ca8559009e1900c1ba446e75a3b7 /gdb/cp-support.h | |
parent | b2e2f908b863c27abb00108a03ebe2598baec55c (diff) | |
download | gdb-4dcabcc2b5d82dca1089f87e5830a8cd3b5a4bd6.zip gdb-4dcabcc2b5d82dca1089f87e5830a8cd3b5a4bd6.tar.gz gdb-4dcabcc2b5d82dca1089f87e5830a8cd3b5a4bd6.tar.bz2 |
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.
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 cbff610..e92d6e7 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -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); |