blob: 2de84d7061c7015aa8adea1374671e5dcae54c33 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _CRIS_PTRACE_H
2#define _CRIS_PTRACE_H
3
David Howellse717aba2012-10-09 09:46:45 +01004#include <uapi/asm/ptrace.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Adrian Bunkf22ab812008-07-25 01:47:34 -07006
Linus Torvalds1da177e2005-04-16 15:20:36 -07007/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
8#define PTRACE_GETREGS 12
9#define PTRACE_SETREGS 13
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Mikael Starvik21783c92005-07-27 11:44:40 -070011#define profile_pc(regs) instruction_pointer(regs)
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif /* _CRIS_PTRACE_H */