summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/include/ptrace.h')
-rw-r--r--sys/arch/alpha/include/ptrace.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/ptrace.h b/sys/arch/alpha/include/ptrace.h
index a38169df9d0..81040c1cbf1 100644
--- a/sys/arch/alpha/include/ptrace.h
+++ b/sys/arch/alpha/include/ptrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.h,v 1.3 1996/10/30 22:39:24 niklas Exp $ */
+/* $OpenBSD: ptrace.h,v 1.4 2002/03/12 11:58:14 art Exp $ */
/* $NetBSD: ptrace.h,v 1.1 1995/02/13 23:07:51 cgd Exp $ */
/*
@@ -31,11 +31,18 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef __MACHINE_PTRACE_H__
+#define __MACHINE_PTRACE_H__
+
/*
* Alpha-dependent ptrace definitions.
- * Note that PT_STEP is _not_ supported.
*/
#define PT_GETREGS (PT_FIRSTMACH + 0)
#define PT_SETREGS (PT_FIRSTMACH + 1)
#define PT_GETFPREGS (PT_FIRSTMACH + 2)
#define PT_SETFPREGS (PT_FIRSTMACH + 3)
+#define PT_STEP (PT_FIRSTMACH + 4)
+
+#define FIX_SSTEP(p) process_sstep(p, 0)
+
+#endif