Mail Archives: cygwin/2002/05/24/08:09:37
"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 -