aboutsummaryrefslogtreecommitdiff
path: root/contrib/gdb/gdb/config/powerpc/xm-aix.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gdb/gdb/config/powerpc/xm-aix.h')
-rw-r--r--contrib/gdb/gdb/config/powerpc/xm-aix.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/gdb/gdb/config/powerpc/xm-aix.h b/contrib/gdb/gdb/config/powerpc/xm-aix.h
new file mode 100644
index 000000000000..cc986502b77c
--- /dev/null
+++ b/contrib/gdb/gdb/config/powerpc/xm-aix.h
@@ -0,0 +1,31 @@
+/* Parameters for hosting on an PowerPC, for GDB, the GNU debugger.
+ Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
+ Contributed by Cygnus Corporation.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#include "xm-aix4.h"
+
+/* This doesn't seem to be declared in any header file I can find. */
+char *termdef (int, int);
+
+/* UINT_MAX is defined in <sys/limits.h> as a decimal constant (4294967295)
+ which is too large to fit in a signed int when it is parsed by the
+ compiler, so it issues a diagnostic. Just undef it here so that we
+ use gdb's version in defs.h */
+#undef UINT_MAX