* arm-tdep.h (enum arm_float_model): New enum.
authorRichard Earnshaw <richard.earnshaw@arm.com>
Tue, 19 Feb 2002 19:20:31 +0000 (19:20 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Tue, 19 Feb 2002 19:20:31 +0000 (19:20 +0000)
commit08216dd78d5f1a8976771db9ca7008126ccf3ece
tree0253edbebb9cb566b8b3d01048abc00bd110ab13
parent45b38a80ad9d75ed57daa8dfa569583ead481d03
* arm-tdep.h (enum arm_float_model): New enum.
(struct gdbarch_tdep): Add fp_model.
* arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep.  Defer setting
up floating-point conversions until we know the floating-point model
in use by the inferior.  Don't complain about being unable to
determine the ABI of the inferior when we don't have one.
(arm_extract_return_value): Support different floating-point models.
(arm_store_return_value): Likewise.
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
ARM_FLOAT_SOFT.
(arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/arm-tdep.h
gdb/armnbsd-tdep.c