ptrace.h 354 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3
#ifndef _CRIS_PTRACE_H
#define _CRIS_PTRACE_H

4
#include <uapi/asm/ptrace.h>
L
Linus Torvalds 已提交
5

6

L
Linus Torvalds 已提交
7 8 9 10
/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
#define PTRACE_GETREGS            12
#define PTRACE_SETREGS            13

M
Mikael Starvik 已提交
11
#define profile_pc(regs) instruction_pointer(regs)
A
Al Viro 已提交
12
#define current_user_stack_pointer() rdusp()
M
Mikael Starvik 已提交
13

L
Linus Torvalds 已提交
14
#endif /* _CRIS_PTRACE_H */