PR exp/11780:

* libunwind-frame.c (libunwind_frame_prev_register): Don't set
	value as optimized-out.
This commit is contained in:
Tom Tromey 2010-07-02 21:22:30 +00:00
parent 731df70d1a
commit 5387647ff8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-07-02 Tom Tromey <tromey@redhat.com>
PR exp/11780:
* libunwind-frame.c (libunwind_frame_prev_register): Don't set
value as optimized-out.
2010-07-02 Ulrich Weigand <uweigand@de.ibm.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>

View File

@ -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;
}
}