diff options
author | Doug Evans <xdje42@gmail.com> | 2014-12-23 07:24:48 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-12-23 07:24:48 -0800 |
commit | f606139ae8aa873f6294aaf3bf599d18c3025023 (patch) | |
tree | 89f5cfaabc835c5d29cc046e3cd2b6bc13564edb /gdb/cp-support.h | |
parent | 08be3fe322244a3684d007d9282e225fc215f5d8 (diff) | |
download | gdb-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-support.h')
-rw-r--r-- | gdb/cp-support.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index 2594e34..783bdf0 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -192,9 +192,11 @@ extern void cp_add_using_directive (const char *dest, 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, - const domain_enum domain); +extern struct symbol *cp_lookup_symbol_nonlocal + (const struct language_defn *langdef, + const char *name, + const struct block *block, + const domain_enum domain); extern struct symbol *cp_lookup_symbol_namespace (const char *namespace, const char *name, |