www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/17/10:50:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 17 Jun 2009 10:49:40 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: job control "Bad address" error
Message-ID: <20090617144940.GE1401@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7vd494i72q DOT fsf AT gmail DOT com> <loom DOT 20090616T152044-225 AT post DOT gmane DOT org> <4A38596B DOT 4090209 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4A38596B.4090209@gmail.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Wed, Jun 17, 2009 at 03:48:11AM +0100, Dave Korn wrote:
>Eric Blake wrote:
>>I'm not quite sure how to strace this, since you can't use ^Z to
>>suspend an active strace.
>
>Attach GDB during "sleep 100".  Set strace variables in DLL using 'set'
>command if needed, or just debug.

This has already been fixed in CVS but if you want to debug a process which
has been forked/execed you can also build cygwin with --enable-debugging and
then:

c:\>set CYGWIN_DEBUG=cat
c:\>bash
% cat | cat

This will pop up two debugger windows for the cat processes.

This functonality was broken for a while but I fixed it a week or
so ago.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019