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 Thursday 25 October 2007 22:06:38 Daniel Jacobowitz wrote:
> 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.
Yeah, I misremembered when this issue arises. Anyway, I'd rather have a complete
reproduction recipe so that we can be sure it's this bug.
- Volodya