* partial-stab.h: Add one more check against corrupted or irregular stabs
authorChristopher Faylor <me+cygwin@cgf.cx>
Tue, 28 Mar 2000 17:44:53 +0000 (17:44 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Tue, 28 Mar 2000 17:44:53 +0000 (17:44 +0000)
entry.

gdb/ChangeLog
gdb/partial-stab.h

index bf08a13a0d17abdf4846e46efb51992c667bca62..7a74b26bcfd05d61ac81df74db9e53aaa39dcd71 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-28  Christopher Faylor  <cgf@cygnus.com>
+
+        * partial-stab.h: Add one more check against corrupted or irregular
+        stabs entry.
+
 Tue Mar 28 12:23:37 2000  Philippe De Muyter  <phdm@macqel.be>
 
        * gnu-regex.c (regerror): Function renamed from `__regerror'.
index 87ab12ac3045eeea28c92f825bb184c109027f06..9c4be680a2b253b84138530384a780eee0fa21bd 100644 (file)
@@ -393,7 +393,7 @@ switch (CUR_SYMBOL_TYPE)
 
 #ifdef DBXREAD_ONLY
     /* See if this is an end of function stab.  */
-    if (CUR_SYMBOL_TYPE == N_FUN && *namestring == '\000')
+    if (pst && CUR_SYMBOL_TYPE == N_FUN && *namestring == '\000')
       {
        unsigned long valu;