diff options
author | Pedro Alves <palves@redhat.com> | 2013-07-04 18:10:04 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-07-04 18:10:04 +0000 |
commit | 7195e6f018c7928c8b7be37e56b4df2656402618 (patch) | |
tree | b36ae6e79a2341a4e324110fe8b46527be55361e /elfcpp/elfcpp_file.h | |
parent | 58722cac5aa9ea0b18a8fe5e76031f62cea017bc (diff) | |
download | gdb-7195e6f018c7928c8b7be37e56b4df2656402618.zip gdb-7195e6f018c7928c8b7be37e56b4df2656402618.tar.gz gdb-7195e6f018c7928c8b7be37e56b4df2656402618.tar.bz2 |
Use allocate_optimized_out_value instead of set_value_optimized_out.
Allocate the value as optimized out from the start rather than allocating
a value with contents, and then marking it optimized out.
gdb/
2013-07-04 Pedro Alves <palves@redhat.com>
* findvar.c (value_of_register): Use allocate_optimized_out_value
if the register has been optimized out, instead of
set_value_optimized_out.
* frame-unwind.c (frame_unwind_got_optimized): Use
allocate_optimized_out_value.
Diffstat (limited to 'elfcpp/elfcpp_file.h')
0 files changed, 0 insertions, 0 deletions