diff options
Diffstat (limited to 'gdb/frame-unwind.c')
-rw-r--r-- | gdb/frame-unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c index ebc01ff..1068b02 100644 --- a/gdb/frame-unwind.c +++ b/gdb/frame-unwind.c @@ -202,7 +202,7 @@ frame_unwind_got_optimized (struct frame_info *frame, int regnum) "<not saved>". */ val = allocate_value_lazy (type); set_value_lazy (val, 0); - set_value_optimized_out (val, 1); + mark_value_bytes_optimized_out (val, 0, TYPE_LENGTH (type)); VALUE_LVAL (val) = lval_register; VALUE_REGNUM (val) = regnum; VALUE_FRAME_ID (val) = get_frame_id (frame); |