Make print_float_info() multi-arch pure. Add ui_file and frame parameters.

This commit is contained in:
Andrew Cagney
2002-06-11 02:30:59 +00:00
parent dd12a1014c
commit d855c300c7
8 changed files with 28 additions and 36 deletions

View File

@@ -241,7 +241,8 @@ default_double_format (struct gdbarch *gdbarch)
}
void
default_print_float_info (void)
default_print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
struct frame_info *frame)
{
#ifdef FLOAT_INFO
#if GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL
@@ -249,7 +250,8 @@ default_print_float_info (void)
#endif
FLOAT_INFO;
#else
printf_filtered ("No floating point info available for this processor.\n");
fprintf_filtered (file, "\
No floating point info available for this processor.\n");
#endif
}