* config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
authorJeff Law <law@redhat.com>
Sun, 13 Aug 1995 06:11:38 +0000 (06:11 +0000)
committerJeff Law <law@redhat.com>
Sun, 13 Aug 1995 06:11:38 +0000 (06:11 +0000)
        * 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).

gdb/ChangeLog
gdb/config/powerpc/xm-aix.h
gdb/config/rs6000/xm-rs6000.h

index b961d2f..169a9ac 100644 (file)
@@ -1,5 +1,8 @@
 Sat Aug 12 15:34:54 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
 
+       * 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.
index 8481060..936e729 100644 (file)
@@ -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.  */
 
index 3d848ba..ddd1758 100644 (file)
@@ -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.  */