PR exp/11780:
authorTom Tromey <tromey@redhat.com>
Fri, 2 Jul 2010 21:22:30 +0000 (21:22 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 2 Jul 2010 21:22:30 +0000 (21:22 +0000)
* libunwind-frame.c (libunwind_frame_prev_register): Don't set
value as optimized-out.

gdb/ChangeLog
gdb/libunwind-frame.c

index b8eb2d586c881dce8902d6abaf2379c92992fa1d..4ce533167018462e4cb856ae9aca7e83d223174f 100644 (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>
 
index 231d9095cc37c5d8418f9111de92c9fa75749193..4d32adb918a0abb78df7803adb1119344b025148 100644 (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;
       }
     }