This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 22/24] Support all new ABIs when detecting if an FPU is present
- From: Bhushan Attarde <bhushan dot attarde at imgtec dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: <Maciej dot Rozycki at imgtec dot com>, <Matthew dot Fortune at imgtec dot com>, <James dot Hogan at imgtec dot com>, <Andrew dot Bennett at imgtec dot com>, <Jaydeep dot Patil at imgtec dot com>, Bhushan Attarde <bhushan dot attarde at imgtec dot com>
- Date: Mon, 27 Jun 2016 20:19:49 +0530
- Subject: [PATCH 22/24] Support all new ABIs when detecting if an FPU is present
- Authentication-results: sourceware.org; auth=none
- References: <1467038991-6600-1-git-send-email-bhushan dot attarde at imgtec dot com>
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 --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:
--
1.9-rc2