2006-02-17 07:54:14

by Heiko Carstens

[permalink] [raw]
Subject: PTRACE_SETOPTIONS documentantion?

Hi all,

I'm just wondering if there is any sort of documentation for the ptrace
request PTRACE_SETOPTIONS and its PTRACE_O_* flags available?
Or is this just some sort of "if you want to use this interface, read
the kernel sources" ? :)
The same question could be asked for PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO
and PTRACE_SETSIGINFO.

Heiko


2006-02-21 23:31:09

by Daniel Jacobowitz

[permalink] [raw]
Subject: Re: PTRACE_SETOPTIONS documentantion?

On Fri, Feb 17, 2006 at 08:53:58AM +0100, Heiko Carstens wrote:
> Hi all,
>
> I'm just wondering if there is any sort of documentation for the ptrace
> request PTRACE_SETOPTIONS and its PTRACE_O_* flags available?
> Or is this just some sort of "if you want to use this interface, read
> the kernel sources" ? :)
> The same question could be asked for PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO
> and PTRACE_SETSIGINFO.

Basically there's none; you're welcome to write some, and to consult
the GDB sources for example usage. Maybe the documentation would be
appropriate for the man pages.

--
Daniel Jacobowitz
CodeSourcery