Mark pieces of values as unavailable if the corresponding memory
authorPedro Alves <palves@redhat.com>
Mon, 14 Feb 2011 11:21:25 +0000 (11:21 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 14 Feb 2011 11:21:25 +0000 (11:21 +0000)
commite6ca34fcfbd6f341cb70c680d45f229cb5801eeb
tree93e23d44a35a3d9a0107b9cb0732e44608858668
parent2a7498d819aef97a9abf94dc20899affe68080fe
Mark pieces of values as unavailable if the corresponding memory
is unavailable.

gdb/
* valops.c: Include tracepoint.h.
(value_fetch_lazy): Use read_value_memory.
(read_value_memory): New.
* value.h (read_value_memory): Declare.
* dwarf2loc.c (read_pieced_value): Use read_value_memory.
* exec.c (section_table_available_memory): New function.
* exec.h (section_table_available_memory): Declare.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/exec.c
gdb/exec.h
gdb/valops.c
gdb/value.h