mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
a mangled symbol rather than recursing into lookup_symbol, since this will just re-unmangle the name & call lookup_symbol_aux - leading to an infinite recursion.
This commit is contained in:
parent
28ae27b1a6
commit
5dbd90485c
@ -1,3 +1,10 @@
|
||||
2001-01-09 James Ingham <jingham@inghji.apple.com>
|
||||
|
||||
* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
|
||||
a mangled symbol rather than recursing into lookup_symbol, since
|
||||
this will just re-unmangle the name & call lookup_symbol_aux -
|
||||
leading to an infinite recursion.
|
||||
|
||||
2001-01-18 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* infcmd.c (print_return_value): Restore another space lost by
|
||||
|
@ -771,8 +771,8 @@ lookup_symbol_aux (const char *name, const struct block *block,
|
||||
{
|
||||
/* This is a mangled variable, look it up by its
|
||||
mangled name. */
|
||||
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);
|
||||
}
|
||||
/* There are no debug symbols for this file, or we are looking
|
||||
for an unmangled variable.
|
||||
|
Loading…
Reference in New Issue
Block a user