aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h2
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;