This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reporting of "program no longer exists"


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]