This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: error reading variable: value has been optimized out


> Date: Mon, 3 Sep 2012 13:24:25 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Andrew Burgess <aburgess@broadcom.com>, gdb-patches@sourceware.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).

OK, thanks.  I hope it will be possible to support older versions as
well.  E.g., fencepost.gnu.org has this installed:

  eliz@fencepost:~$ gcc --version
  gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
  Copyright (C) 2009 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]