diff options
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r-- | gdb/partial-stab.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 24ff492..970676f 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -290,6 +290,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ || psymtab_language != language_cplus)) psymtab_language = tmp_language; + if (pst == NULL) + { + /* FIXME: we should not get here without a PST to work on. + Attempt to recover. */ + complain (&unclaimed_bincl_complaint, namestring, symnum); + continue; + } add_bincl_to_list (pst, namestring, CUR_SYMBOL_VALUE); /* Mark down an include file in the current psymtab */ |