summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-03-17 21:43:29 +0000
committermiod <miod@openbsd.org>2006-03-17 21:43:29 +0000
commit84f1d3fe2e00fcf9d7210ac7128e84d4ecd4d4f4 (patch)
tree88e5ea739229b99a7f3047c7fed65aaa5eb6d9d9
parentNuke unused variable. (diff)
downloadwireguard-openbsd-84f1d3fe2e00fcf9d7210ac7128e84d4ecd4d4f4.tar.xz
wireguard-openbsd-84f1d3fe2e00fcf9d7210ac7128e84d4ecd4d4f4.zip
Fix single-stepping via ptrace(2); ok art@ kettenis@
-rw-r--r--sys/arch/alpha/include/proc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/alpha/include/proc.h b/sys/arch/alpha/include/proc.h
index 10698729cec..611c2dfd3cf 100644
--- a/sys/arch/alpha/include/proc.h
+++ b/sys/arch/alpha/include/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.9 2006/02/23 23:53:30 miod Exp $ */
+/* $OpenBSD: proc.h,v 1.10 2006/03/17 21:43:29 miod Exp $ */
/* $NetBSD: proc.h,v 1.2 1995/03/24 15:01:36 cgd Exp $ */
/*
@@ -63,9 +63,9 @@ struct mdproc {
* C99 API's, the use of the MDP_FP_C bits is defined variously in
* ieeefp.h and fpu.h.
*/
-#define MDP_FPUSED 0x0001 /* Process used the FPU */
+#define MDP_FPUSED 0x00000001 /* Process used the FPU */
#ifndef NO_IEEE
-#define MDP_FP_C 0x7ffffe /* Extended FP_C Quadword bits */
+#define MDP_FP_C 0x007ffffe /* Extended FP_C Quadword bits */
#endif
-#define MDP_STEP1 0x0002 /* Single step normal */
-#define MDP_STEP2 0x0003 /* Single step branch */
+#define MDP_STEP1 0x00800000 /* Single step normal */
+#define MDP_STEP2 0x01800000 /* Single step branch */