blob: 1ec69a7ea8365282b226ff9a91dbe36df4600bf8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _CRIS_PTRACE_H
2#define _CRIS_PTRACE_H
3
4#include <asm/arch/ptrace.h>
5
6#ifdef __KERNEL__
7/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
8#define PTRACE_GETREGS 12
9#define PTRACE_SETREGS 13
10#endif
11
Mikael Starvik21783c92005-07-27 11:44:40 -070012#define profile_pc(regs) instruction_pointer(regs)
13
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#endif /* _CRIS_PTRACE_H */