Re: sys/ptrace.h

Nikola Vladov <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
On Sat, Mar 13, 2010 at 07:16:36AM +0100, Felix von Leitner wrote:
> I didn't even know those existed.  Must be new :)
> I added them, and also added pt_regs for x86_64.

I even in worse situation than you, Felix :-)
This is my first attempt to use ptrace.

I checked this manpage (I suppose it is relative new).
http://www.kernel.org/doc/man-pages/online/pages/man2/ptrace.2.html

See also this from the above link:
BUGS
On hosts with 2.6 kernel headers, PTRACE_SETOPTIONS is declared with a
different value than the one for 2.4.  This leads to applications compiled
ith such headers failing when run on 2.4 kernels.  This can be worked around
by redefining PTRACE_SETOPTIONS to PTRACE_OLDSETOPTIONS, if that is defined.

Thanks, for the fast answer!
Nikola
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.