From: Jeff Law Date: Sun, 13 Aug 1995 06:11:38 +0000 (+0000) Subject: * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=407f52c1a2d26ecbe0b1000c49414fa4e77f91ca;p=binutils-gdb.git * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define. * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. So we can build under aix4 with an ansi compiler (should not effect aix3 since aix3 doesn't have a ptrace prototype). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b961d2f85ef..169a9ac3f10 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Sat Aug 12 15:34:54 1995 Jeffrey A. Law + * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define. + * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. + * configure.in: Recognize aix4 specially as some aspects of aix4 need different handling than aix3. * configure: Updated. diff --git a/gdb/config/powerpc/xm-aix.h b/gdb/config/powerpc/xm-aix.h index 8481060e16d..936e729c6d2 100644 --- a/gdb/config/powerpc/xm-aix.h +++ b/gdb/config/powerpc/xm-aix.h @@ -44,6 +44,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define USG 1 #define HAVE_SIGSETMASK 1 +#define FIVE_ARG_PTRACE + /* AIX declares the mem functions differently than defs.h does. AIX is right, but defs.h works on more old systems. For now, override it. */ diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h index 3d848bae316..ddd175801ab 100644 --- a/gdb/config/rs6000/xm-rs6000.h +++ b/gdb/config/rs6000/xm-rs6000.h @@ -44,6 +44,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define USG 1 #define HAVE_SIGSETMASK 1 +#define FIVE_ARG_PTRACE + /* This system requires that we open a terminal with O_NOCTTY for it to not become our controlling terminal. */