diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-03 22:45:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-03 22:45:23 +0000 |
commit | 247ccf635b9f8d2fa5080f659a5d26f203a898d6 (patch) | |
tree | b3680ab0f825566c630bce95bd7897b6ea585d03 | |
parent | eac4cb5d613edb3b8aa8083e16aa9a0c28a74a53 (diff) |
Add arm to the victims.
-rw-r--r-- | regress/sys/ptrace/ptrace.c | 4 |
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__) |