Skip to contentSkip to conversation

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

DISCUSSION Ming Chen 2 participants 2 messages Jul 10, 2004

lore
Share & tools
lore

Ming Chen

author
#0 lore raw

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?

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

#1 lore raw
Quoted 7 lines · Ming Chen

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 <[email protected]>
MLB Associates

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