Re: ptrace probs?

From: Daniel Jacobowitz (dan@debian.org)
Date: Tue Sep 10 2002 - 13:21:25 EST


On Tue, Sep 10, 2002 at 07:54:46PM +0100, Frank Peters wrote:
> Kernel: 2.4.18
>
> If I ptrace-Attach to some program I cannot immediately peek values!
> ( I can but they are all 0) if I insert a sleep(1) after the ATTACH
> it works?
>
> Can somebody explain?

I don't see any problems here... can you post test code, showing
exactly where something goes wrong?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:22 EST