summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-08 00:04:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-08 00:04:22 +0000
commita02783ea75d6b976caa9ce511e0338c622745aa8 (patch)
treed80d454b1578159bbdb054d91d7864d3ab496bea /sys/arch/sparc/include
parent9af9f9c63736a116bd2919417bdef06365b1a4fe (diff)
restored & repaired wcookie support; kettenis@chello.nl
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/ptrace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/ptrace.h b/sys/arch/sparc/include/ptrace.h
index 3928caf8c75..cc878120b64 100644
--- a/sys/arch/sparc/include/ptrace.h
+++ b/sys/arch/sparc/include/ptrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.h,v 1.4 2003/06/02 23:27:54 millert Exp $ */
+/* $OpenBSD: ptrace.h,v 1.5 2004/02/08 00:04:20 deraadt Exp $ */
/* $NetBSD: ptrace.h,v 1.4 1994/11/20 20:53:27 deraadt Exp $ */
/*
@@ -49,3 +49,7 @@
#define PT_GETFPREGS (PT_FIRSTMACH + 2)
#define PT_SETFPREGS (PT_FIRSTMACH + 3)
#define PT_WCOOKIE (PT_FIRSTMACH + 4)
+
+#ifdef _KERNEL
+register_t process_get_wcookie(struct proc *p);
+#endif