This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: info on "value being assigned to is no longer active" error
- From: Daniel Jacobowitz <drow at false dot org>
- To: Siva Velusamy <siva dot velusamy at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 18 Jan 2008 23:21:16 -0500
- Subject: Re: info on "value being assigned to is no longer active" error
- References: <e7dfeff00801182011n27015c9anfb444e45379971db@mail.gmail.com>
On Fri, Jan 18, 2008 at 08:11:34PM -0800, Siva Velusamy wrote:
> If my (admittedly cursory) examination of the code in valops.c is
> correct, it appears as if gdb is looking for the frame to make sure
> that it updates the value of the register if it has been stored in the
> stack. Is that correct?
Roughly. All registers in GDB belong to a frame. Either the current
frame or a saved stack frame. GDB has found the current frame, but
confuses its ID with an invalid frame marker.
--
Daniel Jacobowitz
CodeSourcery