aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1997-07-17 18:45:11 +0000
committerMichael Snyder <msnyder@vmware.com>1997-07-17 18:45:11 +0000
commit3822bab9fa8dcd12f55cda701d744cf0f4dad40b (patch)
treed132a4a40a40f0670edfca76b841961841fcd16b /gdb
parent2aeedbf89edb81f8119dca9c20ec1e13d3f6ca65 (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/partial-stab.h7
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1ee2c2b..e5357c1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* sol-thread.c (sol_thread_[store, fetch]_registers): if
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 */