From 156e5ba79072d20714f1a2fea537d07fbdec728d Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 15 Aug 2004 16:10:23 +0000 Subject: * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines. --- gdb/ChangeLog | 3 +++ gdb/config/i386/nm-linux64.h | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a7f2764..7bb0743 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 1764758..dacbc81 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 -- cgit v1.1