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/symtab.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/symtab.h')
-rw-r--r-- | gdb/symtab.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index d195222..57ed9fc 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1186,9 +1186,11 @@ extern struct symbol *lookup_symbol (const char *, const struct block *, that can't think of anything better to do. This implements the C lookup rules. */ -extern struct symbol *basic_lookup_symbol_nonlocal (const char *, - const struct block *, - const domain_enum); +extern struct symbol * + basic_lookup_symbol_nonlocal (const struct language_defn *langdef, + const char *, + const struct block *, + const domain_enum); /* Some helper functions for languages that need to write their own lookup_symbol_nonlocal functions. */ |