Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Sam Steingold Subject: gdb attach/detach kills the target process Date: 18 Jun 2003 18:56:15 -0400 Organization: disorganization Lines: 15 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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 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/