gdb attach/detach kills the target process

Sam Steingold sds@gnu.org
Thu Jun 19 04:08:00 GMT 2003


run a process in a cygwin window, find out its PID, run gdb in another
window, attach to that process, then detach from it.
the target process stops responding as soon as it is attached to.
detaching changes nothing.
only after I exit gdb, I get the original window responding, with the
terminal in raw start (need to do "reset" in bash) and the process that
gdb attached to dead.

I tested this on python and clisp.

-- 
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
If you want it done right, you have to do it yourself


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list