diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-07 20:06:12 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-07 20:06:12 +0000 |
commit | e0e40094f8def7802af967d1fa5a850b2618fb84 (patch) | |
tree | fd9b5e5e0683c15232f00650033a5ffb0a1a1319 /gdb/dwarf2loc.c | |
parent | 0b2381f5e125bdeb7e7aec65ac6b9647cf04771e (diff) | |
download | gdb-e0e40094f8def7802af967d1fa5a850b2618fb84.zip gdb-e0e40094f8def7802af967d1fa5a850b2618fb84.tar.gz gdb-e0e40094f8def7802af967d1fa5a850b2618fb84.tar.bz2 |
2011-03-04 Michael Snyder <msnyder@vmware.com>
* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index e516dfa..0c4d834 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -976,6 +976,7 @@ indirect_pieced_value (struct value *value) frame = get_selected_frame (_("No frame selected.")); byte_offset = value_as_address (value); + gdb_assert (piece); baton = dwarf2_fetch_die_location_block (piece->v.ptr.die, c->per_cu, get_frame_address_in_block_wrapper, frame); |