diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips64.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 37a190d..7542565 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 <hunt@cygnus.com> 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" |