diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b8eb2d586c..4ce5331670 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-07-02 Tom Tromey + + PR exp/11780: + * libunwind-frame.c (libunwind_frame_prev_register): Don't set + value as optimized-out. + 2010-07-02 Ulrich Weigand Thiago Jung Bauermann diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c index 231d9095cc..4d32adb918 100644 --- a/gdb/libunwind-frame.c +++ b/gdb/libunwind-frame.c @@ -348,7 +348,6 @@ libunwind_frame_prev_register (struct frame_info *this_frame, return frame_unwind_got_constant (this_frame, regnum, 0); val = frame_unwind_got_constant (this_frame, regnum, intval); } - set_value_optimized_out (val, 1); break; } }