* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.

* gdbarch.c gdbarch.h: Regenerate.
* arch-utils.c (default_print_float_info): New function.
* arch-utils.h (default_print_float_info): Prototype it.
* infcmd.c (float_info): Call PRINT_FLOAT_INFO.
* doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
(PRINT_FLOAT_INFO): Document it.

* arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
* config/arm/tm-arm.h (FLOAT_INFO): Delete.
(PRINT_FLOAT_INFO): Define.
This commit is contained in:
Richard Earnshaw 2002-02-06 13:00:49 +00:00
parent a8ec217795
commit 5e74b15c0d
9 changed files with 136 additions and 69 deletions

View file

@ -1846,11 +1846,7 @@ interrupt_target_command (char *args, int from_tty)
static void
float_info (char *addr_exp, int from_tty)
{
#ifdef FLOAT_INFO
FLOAT_INFO;
#else
printf_filtered ("No floating point info available for this processor.\n");
#endif
PRINT_FLOAT_INFO ();
}
/* ARGSUSED */