From ecbb00a2629050fd720dc376a33c45f4ad767cea Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 7 Jun 1998 17:13:14 +0000 Subject: 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. --- sys/sys/ptrace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/sys/ptrace.h') 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 -- cgit v1.2.3