delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/24/08:09:37

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
Message-ID: <008a01c20318$3cce80e0$6132bc3e@BABEL>
From: "Conrad Scott" <Conrad DOT Scott AT dsl DOT pipex DOT com>
To: <cygwin AT cygwin DOT com>
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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

"Christopher Faylor" <cgf-cygwin AT cygwin DOT com> 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/

- Raw text -


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