summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-03-17 21:43:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-03-17 21:43:30 +0000
commit00b15283f87fa5c50cc09e5de38b39b117449ad0 (patch)
tree8b4ac2adef3a0efb0ec280746cd5e4f2a6b53393
parent01ffc1de04dbae0d4f830c3bb29c4d2d0c9dff77 (diff)
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 */