From ae03d60df4a2be02a5da0d5809d06a5a1f93e1c3 Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 11 Apr 2002 20:42:13 +0000 Subject: Use PTRACE_ARG3_TYPE of caddr_t. Obtained from: gdb 5.2 --- gnu/usr.bin/binutils/gdb/alpha/nm.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/binutils/gdb/alpha/nm.h b/gnu/usr.bin/binutils/gdb/alpha/nm.h index 5aaa8a2..f06d10c 100644 --- a/gnu/usr.bin/binutils/gdb/alpha/nm.h +++ b/gnu/usr.bin/binutils/gdb/alpha/nm.h @@ -23,6 +23,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. This routine returns true on success */ +/* $FreeBSD$ */ + +#include + #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) extern int get_longjmp_target PARAMS ((CORE_ADDR *)); @@ -36,7 +40,7 @@ get_longjmp_target PARAMS ((CORE_ADDR *)); extern CORE_ADDR alpha_u_regs_offset(); #define U_REGS_OFFSET alpha_u_regs_offset() -#define PTRACE_ARG3_TYPE char* +#define PTRACE_ARG3_TYPE caddr_t /* ptrace transfers longs, the ptrace man page is lying. */ -- cgit v1.1