diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2000-03-28 17:44:53 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2000-03-28 17:44:53 +0000 |
commit | 7d88144cc745a86947e8836ea1a25a9a495cc450 (patch) | |
tree | 03198e0d815290835efdc4189b8cae5bb02d62f4 /gdb/partial-stab.h | |
parent | 6d2ebf8bcc854cde411391c02ec4278a9d51922e (diff) | |
download | gdb-7d88144cc745a86947e8836ea1a25a9a495cc450.zip gdb-7d88144cc745a86947e8836ea1a25a9a495cc450.tar.gz gdb-7d88144cc745a86947e8836ea1a25a9a495cc450.tar.bz2 |
* partial-stab.h: Add one more check against corrupted or irregular stabs
entry.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r-- | gdb/partial-stab.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 87ab12a..9c4be68 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -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; |