aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-07-02 21:22:30 +0000
committerTom Tromey <tromey@redhat.com>2010-07-02 21:22:30 +0000
commit5387647ff83360ff0d8c8597731d30f82b94cf9c (patch)
tree2a1b838c85c84df106dd60da67ce54268e2c8c05 /gdb
parent731df70d1a9b202e14df95132d8b9c4e6587eb86 (diff)
downloadbinutils-5387647ff83360ff0d8c8597731d30f82b94cf9c.zip
binutils-5387647ff83360ff0d8c8597731d30f82b94cf9c.tar.gz
binutils-5387647ff83360ff0d8c8597731d30f82b94cf9c.tar.bz2
PR exp/11780:
* libunwind-frame.c (libunwind_frame_prev_register): Don't set value as optimized-out.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/libunwind-frame.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b8eb2d5..4ce5331 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c
index 231d909..4d32adb 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;
}
}