diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-02-20 00:09:01 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-02-20 00:09:01 +0000 |
commit | 23cc649f21aade7117512a23acff5f4dca5256b3 (patch) | |
tree | af37aa5b0934b9a617acfd86b73195971151bb9e /gdb/symtab.c | |
parent | 0db23c95cc86f84a4137054e6d35b5cf306e5fdf (diff) | |
download | gdb-23cc649f21aade7117512a23acff5f4dca5256b3.zip gdb-23cc649f21aade7117512a23acff5f4dca5256b3.tar.gz gdb-23cc649f21aade7117512a23acff5f4dca5256b3.tar.bz2 |
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
* 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.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 6b35d57..76c2a94 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); } } } |