summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/sys_process.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 8f665600f1d..0d5248d29c0 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_process.c,v 1.53 2012/04/11 15:28:50 kettenis Exp $ */
+/* $OpenBSD: sys_process.c,v 1.54 2012/04/12 12:09:05 kettenis Exp $ */
/* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */
/*-
@@ -146,6 +146,12 @@ sys_ptrace(struct proc *p, void *v, register_t *retval)
#ifdef PT_SETFPREGS
case PT_SETFPREGS:
#endif
+#ifdef PT_GETXMMREGS
+ case PT_GETXMMREGS:
+#endif
+#ifdef PT_SETXMMREGS
+ case PT_SETXMMREGS:
+#endif
if (SCARG(uap, pid) > THREAD_PID_OFFSET) {
t = pfind(SCARG(uap, pid) - THREAD_PID_OFFSET);
if (t == NULL)