Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <008a01c20318$3cce80e0$6132bc3e@BABEL> From: "Conrad Scott" To: References: <002001c202db$fff820e0$6132bc3e AT BABEL> <20020524050341 DOT GA10193 AT redhat DOT com> Subject: Re: Problem attaching strace to a process Date: Fri, 24 May 2002 12:43:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 "Christopher Faylor" wrote: > > On Fri, May 24, 2002 at 05:32:22AM +0100, Conrad Scott wrote: > > > >I'm trying to use strace to attach to a running process (strace -p pid) but > >I'm not getting anywhere. > > > >To be precise, I get no output until the target process exits, when I get, > >for example, 'Attached to pid 2236 (windows pid 2156)', and no strace > >output. > > > >If I strace strace doing this, I get: > > > >[strace output snipped] > > strace only works on cygwin processes. strace itself is not a cygwin > process. So, "strace strace" is a no-op. > > cgf Duh! of course. And I was just trying to provide some useful information :-( But my problem still remains that I don't get anything out of strace -p pid (even when the target is a cygwin application). Is there some magic I'm missing? // Conrad -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/