diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-11 20:42:13 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-11 20:42:13 +0000 |
commit | ae03d60df4a2be02a5da0d5809d06a5a1f93e1c3 (patch) | |
tree | afff2af1134430373fc9325fb397371a023cfced /gnu | |
parent | 42e587fcbd2784ec24e8835b7fc5026f4a1f92cb (diff) | |
download | FreeBSD-src-ae03d60df4a2be02a5da0d5809d06a5a1f93e1c3.zip FreeBSD-src-ae03d60df4a2be02a5da0d5809d06a5a1f93e1c3.tar.gz |
Use PTRACE_ARG3_TYPE of caddr_t.
Obtained from: gdb 5.2
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/alpha/nm.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <sys/types.h> + #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. */ |