aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/config/powerpc/xm-aix.h2
-rw-r--r--gdb/config/rs6000/xm-rs6000.h2
3 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b961d2f..169a9ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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. */
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. */