aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index a01fb4e..5612ddf 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -225,6 +225,19 @@ default_double_format (struct gdbarch *gdbarch)
}
}
+void
+default_print_float_info (void)
+{
+#ifdef FLOAT_INFO
+#if GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL
+#error "FLOAT_INFO defined in multi-arch"
+#endif
+ FLOAT_INFO;
+#else
+ printf_filtered ("No floating point info available for this processor.\n");
+#endif
+}
+
/* Misc helper functions for targets. */
int