Go to the documentation of this file.
8 #ifndef __ASM_AVR32_PTRACE_H
9 #define __ASM_AVR32_PTRACE_H
11 #include <uapi/asm/ptrace.h>
17 #define arch_has_single_step() (1)
19 #define arch_ptrace_attach(child) ocd_enable(child)
21 #define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER)
22 #define instruction_pointer(regs) ((regs)->pc)
23 #define profile_pc(regs) instruction_pointer(regs)
31 if ((regs->
sr & 0xffff0000) == 0)
38 regs->
sr &= 0x0000ffff;