Reporting of "program no longer exists"

Nick Roberts nickrob@snap.net.nz
Sat Oct 14 21:17:00 GMT 2006


 > 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.

I think Emacs does use threads (I don't know why).  I also encounterd this
when trying to make GDB asynchronous.  I think it was because I got to
ptrace (PTRACE_CONT,...) twice.  The second encounter (and maybe the first)
being

  if (ptrace (request, pid, 0, target_signal_to_host (signal)) == -1)
    perror_with_name (("ptrace"));

in i386_linux_resume where it failed.

-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb mailing list