summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-02-06 13:00:49 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-02-06 13:00:49 +0000
commit7f8952526707f27517e92a47d3cd8ece76e579c5 (patch)
tree10d6cf9fd2944cabc5ce33f1ed6ce95389684a6e /gdb/infcmd.c
parent8c330c754c57fa59f3dcd8925f3cacc63c460ddf (diff)
downloadgdb-7f8952526707f27517e92a47d3cd8ece76e579c5.tar.gz
* 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.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 222053425a9..02384483822 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -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 */