Go to the documentation of this file. 1 #ifndef _CRIS_ARCH_PTRACE_H
2 #define _CRIS_ARCH_PTRACE_H
6 #define CRIS_FRAME_NORMAL 0
7 #define CRIS_FRAME_BUSFAULT 1
12 #define PT_FRAMETYPE 0
32 #define PT_CSRINSTR 20
41 #define C_DCCR_BITNR 0
42 #define V_DCCR_BITNR 1
43 #define Z_DCCR_BITNR 2
44 #define N_DCCR_BITNR 3
45 #define X_DCCR_BITNR 4
46 #define I_DCCR_BITNR 5
47 #define B_DCCR_BITNR 6
48 #define M_DCCR_BITNR 7
49 #define U_DCCR_BITNR 8
50 #define P_DCCR_BITNR 9
51 #define F_DCCR_BITNR 10
112 #define user_mode(regs) (((regs)->dccr & 0x100) != 0)
113 #define instruction_pointer(regs) ((regs)->irp)
114 #define profile_pc(regs) instruction_pointer(regs)