diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-07-31 17:22:06 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-07-31 17:22:06 +0000 |
commit | 7fe7e44e2c3c225d0c09d7550fca2594d6371fc3 (patch) | |
tree | b3e4a4bbe8f7ff020653ccfb8445b7cc0a01db3e | |
parent | c6caf0909829e2639ac1c4b8cd48baa35b40a747 (diff) | |
download | gdb-7fe7e44e2c3c225d0c09d7550fca2594d6371fc3.zip gdb-7fe7e44e2c3c225d0c09d7550fca2594d6371fc3.tar.gz gdb-7fe7e44e2c3c225d0c09d7550fca2594d6371fc3.tar.bz2 |
* config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
(REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/config/mips/tm-irix6.h | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef18e71..a7bd04c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2002-07-31 Kevin Buettner <kevinb@redhat.com> + * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8. + (REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide. + +2002-07-31 Kevin Buettner <kevinb@redhat.com> + * utils.c (host_pointer_to_address, address_to_host_pointer): Use gdb_assert() instead of explicit call to internal_error(). diff --git a/gdb/config/mips/tm-irix6.h b/gdb/config/mips/tm-irix6.h index 70b5f6f..1d2ed39 100644 --- a/gdb/config/mips/tm-irix6.h +++ b/gdb/config/mips/tm-irix6.h @@ -21,6 +21,9 @@ #include "mips/tm-bigmips.h" +#undef MIPS_REGSIZE +#define MIPS_REGSIZE 8 + /* SGI's assembler doesn't grok dollar signs in identifiers. So we use dots instead. This item must be coordinated with G++. */ #undef CPLUS_MARKER @@ -89,11 +92,12 @@ 32 * sizeof(double) + ((N) - 32) * MIPS_REGSIZE) #undef REGISTER_VIRTUAL_TYPE +/* define 8 byte register type */ #define REGISTER_VIRTUAL_TYPE(N) \ (((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) ? builtin_type_double \ : ((N) == 32 /*SR*/) ? builtin_type_uint32 \ : ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \ - : builtin_type_int) + : builtin_type_long_long) /* Force N32 ABI as the default. */ #define MIPS_DEFAULT_ABI MIPS_ABI_N32 |