From e0e40094f8def7802af967d1fa5a850b2618fb84 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 7 Mar 2011 20:06:12 +0000 Subject: 2011-03-04 Michael Snyder * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. --- gdb/dwarf2loc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/dwarf2loc.c') 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); -- cgit v1.1