diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-11 03:40:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-11 03:40:08 +0000 |
commit | 0dadbba0df8779acb1ad0b516397f8afbf444740 (patch) | |
tree | 394c3ce9b501c7ea3b07074cd0f922e2a166aa92 /gdb/config/mips | |
parent | de950844b3c5ac2fdd06b8db35b5680e1853f15c (diff) | |
download | gdb-0dadbba0df8779acb1ad0b516397f8afbf444740.zip gdb-0dadbba0df8779acb1ad0b516397f8afbf444740.tar.gz gdb-0dadbba0df8779acb1ad0b516397f8afbf444740.tar.bz2 |
Add preliminary support for IRIX's n32 abi to the MIPS's multi-arch code.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/tm-irix5.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h index 0fd7a86..19b8dbe 100644 --- a/gdb/config/mips/tm-irix5.h +++ b/gdb/config/mips/tm-irix5.h @@ -18,6 +18,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* If we're being built for n32, enable multi-arch. */ +/* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and + _MIPS_SIM in a tm-*.h file is simply wrong! Those are + host-dependant macros (provided by /usr/include) and stop any + chance of the target being cross compiled */ +#if 0 && defined (_MIPS_SIM_NABI32) && _MIPS_SIM == _MIPS_SIM_NABI32 +/* FIXME: Don't enable multi-arch for IRIX/n32. The test + ``gdb.base/corefile.exp: up in corefile.exp'' fails. */ +#define GDB_MULTI_ARCH 1 +#endif + #include "mips/tm-irix3.h" /* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and @@ -59,6 +70,9 @@ parameters. */ #define MIPS_REGS_HAVE_HOME_P 0 +/* Force N32 ABI as the default. */ +#define MIPS_DEFAULT_ABI MIPS_ABI_N32 + #endif /* N32 */ |