summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-03-03 22:45:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-03-03 22:45:23 +0000
commit247ccf635b9f8d2fa5080f659a5d26f203a898d6 (patch)
treeb3680ab0f825566c630bce95bd7897b6ea585d03 /regress
parenteac4cb5d613edb3b8aa8083e16aa9a0c28a74a53 (diff)
Add arm to the victims.
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/ptrace/ptrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sys/ptrace/ptrace.c b/regress/sys/ptrace/ptrace.c
index 3906ae786a6..ef266051c77 100644
--- a/regress/sys/ptrace/ptrace.c
+++ b/regress/sys/ptrace/ptrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.c,v 1.2 2004/02/28 02:33:28 deraadt Exp $ */
+/* $OpenBSD: ptrace.c,v 1.3 2004/03/03 22:45:22 miod Exp $ */
/*
* Copyright (c) 2004, Mark Kettenis.
* Copyright (c) 2004, Miodrag Vallat.
@@ -65,6 +65,8 @@ main(void)
#if defined(__x86_64__)
regs.r_rip |= 0x07;
+#elif defined(__arm__)
+ regs.r_pc |= 0x03;
#elif defined(__m68k__)
regs.r_pc |= 0x03;
#elif defined(__hppa__)