From: Elena Zannoni Date: Tue, 20 Feb 2001 00:09:01 +0000 (+0000) Subject: 2001-02-19 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23cc649f21aade7117512a23acff5f4dca5256b3;p=binutils-gdb.git 2001-02-19 Elena Zannoni From Peter Schauer * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not lookup_symbol, when trying to find a symbol with a mangled name, to avoid infinite recursion. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 82f64f7d53f..4af7a46f176 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2001-02-19 Elena Zannoni + + From Peter Schauer + * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not + lookup_symbol, when trying to find a symbol with a mangled name, + to avoid infinite recursion. + 2001-02-18 Andrew Cagney * TODO (5.2): Mention G++ 3.0 ABI. General cleanups. diff --git a/gdb/symtab.c b/gdb/symtab.c index 6b35d57423f..76c2a94e8d9 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -949,8 +949,8 @@ lookup_symbol_aux (const char *name, const struct block *block, && MSYMBOL_TYPE (msymbol) != mst_file_text && !STREQ (name, SYMBOL_NAME (msymbol))) { - return lookup_symbol (SYMBOL_NAME (msymbol), block, - namespace, is_a_field_of_this, symtab); + return lookup_symbol_aux (SYMBOL_NAME (msymbol), block, + namespace, is_a_field_of_this, symtab); } } }