aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-06-07 17:13:14 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-06-07 17:13:14 +0000
commitecbb00a2629050fd720dc376a33c45f4ad767cea (patch)
tree1113fd99d363889650b503b7f993603f9423465a /sys/sys/ptrace.h
parent37a8b7dcb8bdd78373c1d4afa4c423c119314e86 (diff)
downloadsrc-ecbb00a2629050fd720dc376a33c45f4ad767cea.tar.gz
src-ecbb00a2629050fd720dc376a33c45f4ad767cea.zip
This commit fixes various 64bit portability problems required for
FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
Notes
Notes: svn path=/head/; revision=36735
Diffstat (limited to 'sys/sys/ptrace.h')
-rw-r--r--sys/sys/ptrace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 6bb3e550f09a..288a0fa2766c 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ptrace.h 8.2 (Berkeley) 1/4/94
- * $Id$
+ * $Id: ptrace.h,v 1.7 1997/02/22 09:45:43 peter Exp $
*/
#ifndef _SYS_PTRACE_H_
@@ -56,9 +56,9 @@
#ifdef KERNEL
void proc_reparent __P((struct proc *child, struct proc *newparent));
-int ptrace_set_pc __P((struct proc *p, unsigned int addr));
+int ptrace_set_pc __P((struct proc *p, unsigned long addr));
int ptrace_single_step __P((struct proc *p));
-int ptrace_write_u __P((struct proc *p, vm_offset_t off, int data));
+int ptrace_write_u __P((struct proc *p, vm_offset_t off, long data));
#else /* !KERNEL */
#include <sys/cdefs.h>