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 82f64f7d53f1a916b2e5152720ae3a8ac2a89d5c..4af7a46f17619e1c8da8f5102408dc3cea30e59f 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 6b35d57423ffc485c3cfc4cae3a604cb2e8c8b59..76c2a94e8d9ea54f4dfffc5c15ee213cbd7d451b 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);
            }
        }
     }