diff mbox

[22/24] Support all new ABIs when detecting if an FPU is present

Message ID 1467038991-6600-22-git-send-email-bhushan.attarde@imgtec.com
State New
Headers show

Commit Message

Bhushan Attarde June 27, 2016, 2:49 p.m. UTC
gdb/ChangeLog:
        * mips-tdep.c (mips_gdbarch_init): Handle fpxx, fp64 and
        fp64a ABI's.
---
 gdb/mips-tdep.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 68e00ec..d5dd668 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -10163,6 +10163,9 @@  mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
       switch (elf_fpu_type)
 	{
 	case Val_GNU_MIPS_ABI_FP_DOUBLE:
+	case Val_GNU_MIPS_ABI_FP_XX:
+	case Val_GNU_MIPS_ABI_FP_64:
+	case Val_GNU_MIPS_ABI_FP_64A:
 	  fpu_type = MIPS_FPU_DOUBLE;
 	  break;
 	case Val_GNU_MIPS_ABI_FP_SINGLE: