This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog findvar.c frame-unwind.c
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Thu, 04 Jul 2013 18:10:04 +0000
- Subject: src/gdb ChangeLog findvar.c frame-unwind.c
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2013-07-04 18:10:04
Modified files:
gdb : ChangeLog findvar.c frame-unwind.c
Log message:
Use allocate_optimized_out_value instead of set_value_optimized_out.
Allocate the value as optimized out from the start rather than allocating
a value with contents, and then marking it optimized out.
gdb/
2013-07-04 Pedro Alves <palves@redhat.com>
* findvar.c (value_of_register): Use allocate_optimized_out_value
if the register has been optimized out, instead of
set_value_optimized_out.
* frame-unwind.c (frame_unwind_got_optimized): Use
allocate_optimized_out_value.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15785&r2=1.15786
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/findvar.c.diff?cvsroot=src&r1=1.150&r2=1.151
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/frame-unwind.c.diff?cvsroot=src&r1=1.37&r2=1.38