From 7631a23e41c170d07da45105c2062c0a2a372687 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 22 Jul 1997 19:14:46 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/config/mips/tm-mips64.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 37a190d5c2a..7542565c842 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. + start-sanitize-gdbtk Mon Jul 21 22:24:07 1997 Martin M. Hunt diff --git a/gdb/config/mips/tm-mips64.h b/gdb/config/mips/tm-mips64.h index 41472e92f54..c1595e1d150 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" -- 2.30.2