From 82e0b968b3549367dc64127f70c4a76cee98f555 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 11 Aug 2004 21:51:29 +0000 Subject: [PATCH] * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used. * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise. * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/config/pa/nm-hppah.h | 4 ---- gdb/config/rs6000/xm-rs6000.h | 2 -- gdb/config/xm-aix4.h | 2 -- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5f33f8f043d..e8abc803b45 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-08-11 Joel Brobecker + + * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used. + * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise. + * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. + 2004-08-11 Mark Kettenis * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5 diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h index 91a71a40c94..5f37239f930 100644 --- a/gdb/config/pa/nm-hppah.h +++ b/gdb/config/pa/nm-hppah.h @@ -41,10 +41,6 @@ struct target_ops; So I don't feel the least bit guilty about this. */ #define PTRACE_ARG3_TYPE CORE_ADDR -/* HPUX 8.0, in its infinite wisdom, has chosen to prototype ptrace - with five arguments, so programs written for normal ptrace lose. */ -#define FIVE_ARG_PTRACE - /* We need to figure out where the text region is so that we use the appropriate ptrace operator to manipulate text. Simply reading/writing user space will crap out HPUX. */ diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h index 51096e643b0..6b7678a27ca 100644 --- a/gdb/config/rs6000/xm-rs6000.h +++ b/gdb/config/rs6000/xm-rs6000.h @@ -43,8 +43,6 @@ #define USG 1 -#define FIVE_ARG_PTRACE - /* This system requires that we open a terminal with O_NOCTTY for it to not become our controlling terminal. */ diff --git a/gdb/config/xm-aix4.h b/gdb/config/xm-aix4.h index eb11233adfc..eb763e905b3 100644 --- a/gdb/config/xm-aix4.h +++ b/gdb/config/xm-aix4.h @@ -20,8 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define FIVE_ARG_PTRACE - /* This system requires that we open a terminal with O_NOCTTY for it to not become our controlling terminal. */ -- 2.30.2