aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-02-20 00:09:01 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-02-20 00:09:01 +0000
commit23cc649f21aade7117512a23acff5f4dca5256b3 (patch)
treeaf37aa5b0934b9a617acfd86b73195971151bb9e
parent0db23c95cc86f84a4137054e6d35b5cf306e5fdf (diff)
downloadgdb-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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/symtab.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 82f64f7..4af7a46 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2001-02-18 Andrew Cagney <ac131313@redhat.com>
* TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
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);
}
}
}