This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[patch/mips] select EABI64 when EABI64, not EABI32
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch/mips] select EABI64 when EABI64, not EABI32
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sat, 17 Jun 2000 23:07:54 +1000
- Organization: Cygnus Solutions
FYI,
Andrew
Sat Jun 17 15:39:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
* mips-tdep.c (mips_gdbarch_init): When the object file header
specifies EABI64, select EABI64 and not EABI32.
Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.17
diff -p -r1.17 mips-tdep.c
*** mips-tdep.c 2000/06/12 04:35:39 1.17
--- mips-tdep.c 2000/06/17 05:40:39
*************** mips_gdbarch_init (info, arches)
*** 3871,3877 ****
mips_abi = MIPS_ABI_EABI32;
break;
case E_MIPS_ABI_EABI64:
! mips_abi = MIPS_ABI_EABI32;
break;
default:
mips_abi = MIPS_ABI_UNKNOWN;
--- 3871,3877 ----
mips_abi = MIPS_ABI_EABI32;
break;
case E_MIPS_ABI_EABI64:
! mips_abi = MIPS_ABI_EABI64;
break;
default:
mips_abi = MIPS_ABI_UNKNOWN;