From: Mark Kettenis Date: Sun, 15 Aug 2004 16:10:23 +0000 (+0000) Subject: * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=156e5ba79072d20714f1a2fea537d07fbdec728d;p=binutils-gdb.git * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a7f2764343c..7bb0743b026 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-08-15 Mark Kettenis + * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): + Remove defines. + * linux-nat.c (kill_inferior): Add missing third and fourth arguments to ptrace call. Don't use PTRACE_ARG3_TYPE. diff --git a/gdb/config/i386/nm-linux64.h b/gdb/config/i386/nm-linux64.h index 1764758f3b9..dacbc81060d 100644 --- a/gdb/config/i386/nm-linux64.h +++ b/gdb/config/i386/nm-linux64.h @@ -52,12 +52,6 @@ extern unsigned long amd64_linux_dr_get_status (void); amd64_linux_dr_get_status () -/* Type of the third argument to the `ptrace' system call. */ -#define PTRACE_ARG3_TYPE long - -/* Type of the fourth argument to the `ptrace' system call. */ -#define PTRACE_XFER_TYPE long - /* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */ #define FETCH_INFERIOR_REGISTERS