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 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> <4A38596B DOT 4090209 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/