summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/include/asm/ptrace.h')
-rw-r--r--arch/avr32/include/asm/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/ptrace.h b/arch/avr32/include/asm/ptrace.h
index 9e2d44f4e0fe..e53dd0d900f5 100644
--- a/arch/avr32/include/asm/ptrace.h
+++ b/arch/avr32/include/asm/ptrace.h
@@ -124,6 +124,8 @@ struct pt_regs {
#include <asm/ocd.h>
+#define arch_has_single_step() (1)
+
#define arch_ptrace_attach(child) ocd_enable(child)
#define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER)