aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/xm-aix.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-08-13 06:11:38 +0000
committerJeff Law <law@redhat.com>1995-08-13 06:11:38 +0000
commit407f52c1a2d26ecbe0b1000c49414fa4e77f91ca (patch)
tree3f422e22f5bc866742ade9f033ba69499b85678b /gdb/config/powerpc/xm-aix.h
parent65eaea2742c1b7b1625e618603436cc3af71074e (diff)
downloadgdb-407f52c1a2d26ecbe0b1000c49414fa4e77f91ca.zip
gdb-407f52c1a2d26ecbe0b1000c49414fa4e77f91ca.tar.gz
gdb-407f52c1a2d26ecbe0b1000c49414fa4e77f91ca.tar.bz2
* 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).
Diffstat (limited to 'gdb/config/powerpc/xm-aix.h')
-rw-r--r--gdb/config/powerpc/xm-aix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/config/powerpc/xm-aix.h b/gdb/config/powerpc/xm-aix.h
index 8481060..936e729 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. */