diff options
author | Michael Snyder <msnyder@vmware.com> | 1997-07-17 18:45:11 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 1997-07-17 18:45:11 +0000 |
commit | 3822bab9fa8dcd12f55cda701d744cf0f4dad40b (patch) | |
tree | d132a4a40a40f0670edfca76b841961841fcd16b /gdb/partial-stab.h | |
parent | 2aeedbf89edb81f8119dca9c20ec1e13d3f6ca65 (diff) | |
download | gdb-3822bab9fa8dcd12f55cda701d744cf0f4dad40b.zip gdb-3822bab9fa8dcd12f55cda701d744cf0f4dad40b.tar.gz gdb-3822bab9fa8dcd12f55cda701d744cf0f4dad40b.tar.bz2 |
Thu Jul 17 11:38:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* partial-stab.h (case N_BINCL): detect missing partial symtab.
* dbxread.c: Add a complaint for N_BINCL without a corresponding
partial symtab. Remove earlier change of 5/27/97.
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 */ |