1 #ifndef _CRIS_PTRACE_H 2 #define _CRIS_PTRACE_H 3 4 #include <arch/ptrace.h> 5 6 #ifdef __KERNEL__ 7 8 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ 9 #define PTRACE_GETREGS 12 10 #define PTRACE_SETREGS 13 11 12 #define profile_pc(regs) instruction_pointer(regs) 13 14 #endif /* __KERNEL__ */ 15 16 #endif /* _CRIS_PTRACE_H */ 17