summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-07-11 11:18:40 +0000
committerguenther <guenther@openbsd.org>2012-07-11 11:18:40 +0000
commitaf1528e52621b19dabeb7518f21db78eced18d3c (patch)
tree62fe9e30d22846e3230029e7509702cb5be61bb3
parentDisable SSLv2 in OpenSSL. No objections from djm. (diff)
downloadwireguard-openbsd-af1528e52621b19dabeb7518f21db78eced18d3c.tar.xz
wireguard-openbsd-af1528e52621b19dabeb7518f21db78eced18d3c.zip
Report ptrace(PT_{GET,SET}XMMREGS) by name
ok otto@
-rw-r--r--usr.bin/kdump/kdump.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index fa0ec4554cf..cfa81e46f48 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.74 2012/07/09 17:51:08 claudio Exp $ */
+/* $OpenBSD: kdump.c,v 1.75 2012/07/11 11:18:40 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -421,6 +421,11 @@ ptracedecode(void)
case PT_GETREGS:
(void)printf("PT_GETREGS");
break;
+#ifdef PT_GETXMMREGS
+ case PT_GETXMMREGS:
+ (void)printf("PT_GETXMMREGS");
+ break;
+#endif
#ifdef PT_SETFPREGS
case PT_SETFPREGS:
(void)printf("PT_SETFPREGS");
@@ -429,6 +434,11 @@ ptracedecode(void)
case PT_SETREGS:
(void)printf("PT_SETREGS");
break;
+#ifdef PT_SETXMMREGS
+ case PT_SETXMMREGS:
+ (void)printf("PT_SETXMMREGS");
+ break;
+#endif
#ifdef PT_STEP
case PT_STEP:
(void)printf("PT_STEP");