2011-03-04 Michael Snyder <msnyder@vmware.com>
* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
This commit is contained in:
parent
0b2381f5e1
commit
e0e40094f8
@ -1,5 +1,7 @@
|
||||
2011-03-06 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
|
||||
|
||||
* ser-unix.c (hardwire_get_tty_state): Stop memory leak.
|
||||
|
||||
* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user