diff options
author | Jiong Wang <jiong.wang@arm.com> | 2014-12-29 14:56:36 +0000 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2014-12-29 14:56:36 +0000 |
commit | b35b02984b80ff231dd11dc4f3c7bdba6bef95a7 (patch) | |
tree | 978f2ae9bf3232f3222d747dd6d4a6356c73b4cd /gdb | |
parent | 9d85a0ec6bc88b6d2149071af003881b6edf21b4 (diff) | |
download | gdb-b35b02984b80ff231dd11dc4f3c7bdba6bef95a7.zip gdb-b35b02984b80ff231dd11dc4f3c7bdba6bef95a7.tar.gz gdb-b35b02984b80ff231dd11dc4f3c7bdba6bef95a7.tar.bz2 |
[PATCH] Remove cast in Tag_ABI_VFP_args switch case stmts
2014-12-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
gdb/
* arm-tdep.c (arm_gdbarch_init): Remove casts in Tag_ABI_VFP_args
switch case statements.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f6ddc47..ef7cf46 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. + 2014-12-29 Anthony Green <green@moxielogic.com> * configure.tgt: Add support for moxiebox target. 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 |