2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 20 Feb 2001 00:09:01 +0000 (00:09 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 20 Feb 2001 00:09:01 +0000 (00:09 +0000)
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.

gdb/ChangeLog
gdb/symtab.c

index 82f64f7..4af7a46 100644 (file)
@@ -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.
index 6b35d57..76c2a94 100644 (file)
@@ -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);
            }
        }
     }