This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem with setting register value using MI interface
On Thu, Oct 25, 2007 at 10:00:11PM +0400, Vladimir Prus wrote:
> Is this a complete output, with no commands in between? Can you reproduce
> this on x86, and if so, can you post a complete reproduction recipe?
>
> The only 'error' I immediately see on that code path is this:
>
> if (!frame)
> error (_("Value being assigned to is no longer active."));
>
> in value_assign, but I don't think it can ever fire unless you change frames above.
It can if you're in the outermost frame (i.e. can not backtrace). I
believe there's a PR about this; I know there were a couple of
discussions about it, and there's a nasty hack in our local source
tree for it too.
--
Daniel Jacobowitz
CodeSourcery