Could you like to tell me that where I can find the definition of "struct pt_regs" in Linux/PPC?

Gary Thomas gary at mlbassoc.com
Sun Jul 11 00:48:07 EST 2004


On Sat, 2004-07-10 at 07:42, Ming Chen wrote:
> Hi, I am porting JikesRVM from PowerPC to ARM.
>
> I can not find the source code of "asm/proc/ptrace.h" and the definition of
> "struct pt_regs" in it.
>
> Could you like to tell me that where I can find the definition of "struct
> pt_regs" in Linux/PPC?

Use the source :-)  In the Linux source tree:

% grep -r pt_regs include
  ...
include/asm-ppc/ptrace.h:struct pt_regs {
  ...

--
Gary Thomas <gary at mlbassoc.com>
MLB Associates


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list