1
2
3
4
5 #ifndef _UAPI__ASM_SH_PTRACE_H
6 #define _UAPI__ASM_SH_PTRACE_H
7
8
9 #define PTRACE_GETREGS 12
10 #define PTRACE_SETREGS 13
11
12 #define PTRACE_GETFPREGS 14
13 #define PTRACE_SETFPREGS 15
14
15 #define PTRACE_GETFDPIC 31
16
17 #define PTRACE_GETFDPIC_EXEC 0
18 #define PTRACE_GETFDPIC_INTERP 1
19
20 #define PTRACE_GETDSPREGS 55
21 #define PTRACE_SETDSPREGS 56
22
23 #define PT_TEXT_END_ADDR 240
24 #define PT_TEXT_ADDR 244
25 #define PT_DATA_ADDR 248
26 #define PT_TEXT_LEN 252
27
28 #if defined(__SH5__) || defined(CONFIG_CPU_SH5)
29 #include <asm/ptrace_64.h>
30 #else
31 #include <asm/ptrace_32.h>
32 #endif
33
34
35 #endif