From 25f6178efdb0130d272e2469a3514803a5dd39d1 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 22 Aug 2004 15:38:37 +0000 Subject: [PATCH] * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines. --- gdb/ChangeLog | 3 +++ gdb/config/alpha/nm-linux.h | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 61f5edcee07..d5b8d19628d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-08-22 Mark Kettenis + * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): + Remove defines. + * infptrace.c: Include "gdb_assert.h". (PTRACE_XFER_TYPE): Remove define. (offsetof): Only define if U_REGS_OFFSET isn't defined. diff --git a/gdb/config/alpha/nm-linux.h b/gdb/config/alpha/nm-linux.h index a6f9a49f9d6..19589584b20 100644 --- a/gdb/config/alpha/nm-linux.h +++ b/gdb/config/alpha/nm-linux.h @@ -29,14 +29,6 @@ #define U_REGS_OFFSET 0 -/* FIXME: This is probably true, or should be, on all GNU/Linux ports. - IA64? Sparc64? */ -#define PTRACE_ARG3_TYPE long - -/* ptrace transfers longs, the ptrace man page is lying. */ - -#define PTRACE_XFER_TYPE long - /* The alpha does not step over a breakpoint, the manpage is lying again. */ #define CANNOT_STEP_BREAKPOINT 1 -- 2.30.2