Go to the documentation of this file.
4 #include <uapi/asm/ptrace.h>
13 #define user_mode(regs) (!((regs)->sr & PS_S))
14 #define instruction_pointer(regs) ((regs)->pc)
15 #define profile_pc(regs) instruction_pointer(regs)
16 #define current_pt_regs() \
17 (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1
19 #define arch_has_single_step() (1)
22 #define arch_has_block_step() (1)