From a9a1b0f6dc4d98a04eada99db025ec9b9ede4033 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 15 Aug 2004 16:10:20 +0000 Subject: [PATCH] * 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 a7f2764343..7bb0743b02 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 1764758f3b..dacbc81060 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 -- 2.11.0