Reporting of "program no longer exists"

Daniel Jacobowitz drow@false.org
Sat Oct 14 21:05:00 GMT 2006


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



More information about the Gdb mailing list