This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: error reading variable: value has been optimized out
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Andrew Burgess <aburgess at broadcom dot com>, gdb-patches at sourceware dot org
- Date: Mon, 3 Sep 2012 13:24:25 +0200
- Subject: Re: PATCH: error reading variable: value has been optimized out
- References: <50376F3B.1080407@broadcom.com> <20120826171840.GA21205@host2.jankratochvil.net> <504092C0.2000602@broadcom.com> <83harip386.fsf@gnu.org>
On Sat, 01 Sep 2012 10:16:41 +0200, Eli Zaretskii wrote:
> > [...] but as gcc is no longer creating examples like this I think we can
> > accept the more limited solution I originally suggessted, if that's ok.
>
> "No longer creating" since what version of GCC?
I did not check this specific case but these kinds of registers validity in
general are fixed since FSF GCC 4.5 with the introduction of VTA
(-fvar-tracking-assignments).
Regards,
Jan