From f606139ae8aa873f6294aaf3bf599d18c3025023 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 23 Dec 2014 07:24:48 -0800 Subject: Add langdef arg to la_lookup_symbol_nonlocal. gdb/ChangeLog: * language.h (struct language_defn) : New arg language_defn. All uses updated. --- gdb/symtab.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gdb/symtab.h') 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. */ -- cgit v1.1