From patchwork Mon Jun 27 14:49:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhushan Attarde X-Patchwork-Id: 13400 Received: (qmail 17601 invoked by alias); 27 Jun 2016 14:51:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 15580 invoked by uid 89); 27 Jun 2016 14:51:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.8 required=5.0 tests=AWL, BAYES_00, GARBLED_SUBJECT, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:668 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Jun 2016 14:51:17 +0000 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Forcepoint Email with ESMTPS id 5C60C38E825A for ; Mon, 27 Jun 2016 15:51:11 +0100 (IST) Received: from pudesk170.pu.imgtec.org (192.168.93.65) by hhmail02.hh.imgtec.org (10.100.10.20) with Microsoft SMTP Server (TLS) id 14.3.294.0; Mon, 27 Jun 2016 15:51:14 +0100 From: Bhushan Attarde To: CC: , , , , , Bhushan Attarde Subject: [PATCH 22/24] Support all new ABIs when detecting if an FPU is present Date: Mon, 27 Jun 2016 20:19:49 +0530 Message-ID: <1467038991-6600-22-git-send-email-bhushan.attarde@imgtec.com> In-Reply-To: <1467038991-6600-1-git-send-email-bhushan.attarde@imgtec.com> References: <1467038991-6600-1-git-send-email-bhushan.attarde@imgtec.com> MIME-Version: 1.0 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: