When debugging jabberd, a daemon that setuids to user jabber, a peculiar situation was created. I stop the debugged jabberd with its init script. gdb detects SIGTERM, then SIGPIPE to the jabberd process. Then, when I try to quit, the following dialog occurs:
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/sbin/jabberd, process 26851
ptrace: No such process.
Only killing gdb would help after this.
Should be fixed in new gdb, please reopen if not.