aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-12-23 07:24:48 -0800
committerDoug Evans <xdje42@gmail.com>2014-12-23 07:24:48 -0800
commitf606139ae8aa873f6294aaf3bf599d18c3025023 (patch)
tree89f5cfaabc835c5d29cc046e3cd2b6bc13564edb /gdb/cp-namespace.c
parent08be3fe322244a3684d007d9282e225fc215f5d8 (diff)
downloadgdb-f606139ae8aa873f6294aaf3bf599d18c3025023.zip
gdb-f606139ae8aa873f6294aaf3bf599d18c3025023.tar.gz
gdb-f606139ae8aa873f6294aaf3bf599d18c3025023.tar.bz2
Add langdef arg to la_lookup_symbol_nonlocal.
gdb/ChangeLog: * language.h (struct language_defn) <la_lookup_symbol_nonlocal>: New arg language_defn. All uses updated.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r--gdb/cp-namespace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 0cbf902..6599d45 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -798,7 +798,8 @@ lookup_namespace_scope (const char *name,
DOMAIN says what kind of symbols we're looking for. */
struct symbol *
-cp_lookup_symbol_nonlocal (const char *name,
+cp_lookup_symbol_nonlocal (const struct language_defn *langdef,
+ const char *name,
const struct block *block,
const domain_enum domain)
{