* dwarf2read.c (load_partial_dies): Change condition to assert.

This commit is contained in:
Doug Evans 2012-04-07 19:35:17 +00:00
parent be16f58925
commit 7adf1e79ca
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-04-07 Doug Evans <dje@google.com>
* dwarf2read.c (load_partial_dies): Change condition to assert.
2012-04-06 Doug Evans <dje@google.com>
* amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of

View File

@ -9522,7 +9522,8 @@ load_partial_dies (bfd *abfd, gdb_byte *buffer, gdb_byte *info_ptr,
parent_die = NULL;
last_die = NULL;
if (cu->per_cu && cu->per_cu->load_all_dies)
gdb_assert (cu->per_cu != NULL);
if (cu->per_cu->load_all_dies)
load_all = 1;
cu->partial_dies