aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-01-18 23:38:26 +0000
committerJim Blandy <jimb@codesourcery.com>2001-01-18 23:38:26 +0000
commit5dbd90485c7ad1c93344d96ae381b25430467433 (patch)
tree0552ca916bb7e02d87f9bfba71b490beaf6a55d5 /gdb/symtab.c
parent28ae27b1a6b494ae3efd08a514c62d0d51bb9947 (diff)
downloadgdb-5dbd90485c7ad1c93344d96ae381b25430467433.zip
gdb-5dbd90485c7ad1c93344d96ae381b25430467433.tar.gz
gdb-5dbd90485c7ad1c93344d96ae381b25430467433.tar.bz2
* 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.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 5cb29e4..3b5e1a0 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -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.