* arm-tdep.h (arm_float_model): Add AUTO and LAST values.
authorRichard Earnshaw <richard.earnshaw@arm.com>
Sat, 22 Mar 2003 20:39:21 +0000 (20:39 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Sat, 22 Mar 2003 20:39:21 +0000 (20:39 +0000)
commitfd50bc42f4703d05287bf0daca15cc641a687e17
tree65b6e18a6ec98af185e05971f3dd165f119037d4
parent067186e45fd37836d3aa611637c33cdb51395fab
* arm-tdep.h (arm_float_model): Add AUTO and LAST values.
(arm_get_fp_model): Declare.
* arm-tdep.c (fp_model_strings): New string array.
(arm_fp_model, current_fp_model): New variables.
(arm_get_fp_model): New function.
(arm_set_fp): New function.
(set_fp_model_sfunc): New function.
(show_fp_model): New function.
(_initialize_arm_tdep): Add new command to set/show the FPU.
(arm_extract_return_value): Use arm_get_fp_model.
(arm_store_return_value): Likewise.
(arm_gdbarch_init): Default fpa model is softfpa.  Call arm_set_fp
to initialize the floating-point data types.
* arm-linux-tdep.c (arm_linux_init_abi): The default floating point
model is FPA.
gdb/ChangeLog
gdb/arm-linux-tdep.c
gdb/arm-tdep.c
gdb/arm-tdep.h