This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH, ARM] Support for value 3 of Tag_ABI_VFP_args ARM attribute
- From: "Thomas Preud'homme" <thomas dot preudhomme at arm dot com>
- To: "'Joel Brobecker'" <brobecker at adacore dot com>, "Jiong Wang" <Jiong dot Wang at arm dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 29 Dec 2014 15:02:58 -0000
- Subject: RE: [PATCH, ARM] Support for value 3 of Tag_ABI_VFP_args ARM attribute
- Authentication-results: sourceware.org; auth=none
- References: <000101d02201$e9b4b430$bd1e1c90$ at arm dot com> <20141228034726 dot GA2123 at adacore dot com> <000301d02350$313224b0$93966e10$ at arm dot com> <20141229120924 dot GD2123 at adacore dot com>
> From: Joel Brobecker [mailto:brobecker@adacore.com]
> Sent: Monday, December 29, 2014 12:09 PM
>
> You can commit that change as obvious, no problem. But, in case we
> haven't said it before, even obvious changes need to be posted here,
> with ChangeLog and all.
>
Commited by courtesy of my colleague Jiong Wang.
ChangeLog entry is as follows:
*** gdb/ChangeLog ***
2014-12-29 Thomas Preud'homme thomas.preudhomme@arm.com
* arm-tdep.c (arm_gdbarch_init): Remove casts in Tag_ABI_VFP_args
switch case statements.
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index e12ae6e..dfec923 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -9968,25 +9968,25 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
OBJ_ATTR_PROC,
Tag_ABI_VFP_args))
{
- case (int) AEABI_VFP_args_base:
+ case AEABI_VFP_args_base:
/* "The user intended FP parameter/result
passing to conform to AAPCS, base
variant". */
fp_model = ARM_FLOAT_SOFT_VFP;
break;
- case (int) AEABI_VFP_args_vfp:
+ case AEABI_VFP_args_vfp:
/* "The user intended FP parameter/result
passing to conform to AAPCS, VFP
variant". */
fp_model = ARM_FLOAT_VFP;
break;
- case (int) AEABI_VFP_args_toolchain:
+ case AEABI_VFP_args_toolchain:
/* "The user intended FP parameter/result
passing to conform to tool chain-specific
conventions" - we don't know any such
conventions, so leave it as "auto". */
break;
- case (int) AEABI_VFP_args_compatible:
+ case AEABI_VFP_args_compatible:
/* "Code is compatible with both the base
and VFP variants; the user did not permit
non-variadic functions to pass FP
Best regards,
Thomas