www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Sam Steingold <sds AT gnu DOT org> |
Subject: | gdb attach/detach kills the target process |
Date: | 18 Jun 2003 18:56:15 -0400 |
Organization: | disorganization |
Lines: | 15 |
Message-ID: | <u65n3hu5s.fsf@gnu.org> |
Reply-To: | sds AT gnu DOT org |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT 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 <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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |