]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _CRIS_PTRACE_H |
2 | #define _CRIS_PTRACE_H | |
3 | ||
556dcee7 | 4 | #include <arch/ptrace.h> |
1da177e4 LT |
5 | |
6 | #ifdef __KERNEL__ | |
f22ab814 | 7 | |
1da177e4 LT |
8 | /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ |
9 | #define PTRACE_GETREGS 12 | |
10 | #define PTRACE_SETREGS 13 | |
1da177e4 | 11 | |
21783c97 MS |
12 | #define profile_pc(regs) instruction_pointer(regs) |
13 | ||
f22ab814 AB |
14 | #endif /* __KERNEL__ */ |
15 | ||
1da177e4 | 16 | #endif /* _CRIS_PTRACE_H */ |