This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Reporting of "program no longer exists"
On Sun, Oct 15, 2006 at 09:55:50AM +1300, Nick Roberts wrote:
> > > (gdb) -exec-next
> > > ^running
> > > *stopped,reason="signal-received",signal-name="SIGSEGV".....
> > > (gdb) -exec-next
> > > ^running
> > > Couldn't get registers: No such process.
> > > ^error,msg="Couldn't get registers: No such process."
> >
> > This is simply a bug. Try it from the CLI:
> > ...
>
> I frequently encounter this bug from the CLI when debugging Emacs, so I don't
> think its an MI problem.
That's definitely possible, though I've only ever seen it with threads;
in any case, wherever it appears, we should fix it. Losing track of
the inferior this way is just silly.
--
Daniel Jacobowitz
CodeSourcery