aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000
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/rs6000
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/rs6000')
-rw-r--r--gdb/config/rs6000/xm-rs6000.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h
index 3d848ba..ddd1758 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. */