diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-10 14:16:43 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-10 14:16:43 +0000 |
commit | 069b4d43595c0715c1476f22c97d78b56c0306f5 (patch) | |
tree | 35ebc0f68d028501c34fd82439e9f7ea70b6c378 /regress/sys/ptrace | |
parent | c335e1960014c5f1d730e67cd80b862e5c198051 (diff) |
Make this work on hppa.
Diffstat (limited to 'regress/sys/ptrace')
-rw-r--r-- | regress/sys/ptrace/ptrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/ptrace/ptrace.c b/regress/sys/ptrace/ptrace.c index 89e0edb4622..05b26748dee 100644 --- a/regress/sys/ptrace/ptrace.c +++ b/regress/sys/ptrace/ptrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ptrace.c,v 1.5 2009/03/14 16:54:26 miod Exp $ */ +/* $OpenBSD: ptrace.c,v 1.6 2014/01/10 14:16:42 jsing Exp $ */ /* * Copyright (c) 2004, Mark Kettenis. * Copyright (c) 2004, Miodrag Vallat. @@ -72,8 +72,8 @@ main(void) #elif defined(__m68k__) regs.r_pc |= 0x03; #elif defined(__hppa__) - regs.r_pc |= 0x03; - regs.r_npc |= 0x03; + regs.r_pcoqh |= 0x03; + regs.r_pcoqt |= 0x03; #elif defined(__i386__) regs.r_eip |= 0x03; #elif defined(__mips64__) |