aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1997-07-22 19:14:46 +0000
committerMichael Snyder <msnyder@vmware.com>1997-07-22 19:14:46 +0000
commit7631a23e41c170d07da45105c2062c0a2a372687 (patch)
tree9d76ac4ef482018ff15b1f9103d649ba8756a01d /gdb/config/mips
parent60f1ad85ac75dd967184852cad217a695a727091 (diff)
downloadgdb-7631a23e41c170d07da45105c2062c0a2a372687.zip
gdb-7631a23e41c170d07da45105c2062c0a2a372687.tar.gz
gdb-7631a23e41c170d07da45105c2062c0a2a372687.tar.bz2
Tue Jul 22 12:11:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/mips/tm-mips64.h: longs, long longs, and pointers are all 64 bits on EABI mips targets.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-mips64.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips64.h b/gdb/config/mips/tm-mips64.h
index 41472e9..c1595e1 100644
--- a/gdb/config/mips/tm-mips64.h
+++ b/gdb/config/mips/tm-mips64.h
@@ -32,5 +32,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define OP_LDFPR 065 /* ldc1 */
#define OP_LDGPR 067 /* ld */
+#if defined(MIPS_EABI) && (MIPS_EABI != 0)
+/* define sizes for 64-bit data types */
+#define TARGET_LONG_BIT 64
+#define TARGET_LONG_LONG_BIT 64
+#define TARGET_PTR_BIT 64
+#endif /* MIPS_EABI */
+
/* Get the basic MIPS definitions. */
#include "tm-mips.h"