aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-11 02:30:59 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-11 02:30:59 +0000
commitd855c300c716ddddc5e278bfa644c8939b52e19b (patch)
treea99798bbdd7b37ee5d9b096c6cb3cc50c276ef46 /gdb/arch-utils.c
parentdd12a1014c2c9e65779576b12f0d98621f57f0fb (diff)
downloadgdb-d855c300c716ddddc5e278bfa644c8939b52e19b.zip
gdb-d855c300c716ddddc5e278bfa644c8939b52e19b.tar.gz
gdb-d855c300c716ddddc5e278bfa644c8939b52e19b.tar.bz2
Make print_float_info() multi-arch pure. Add ui_file and frame parameters.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 8e69a61..887aa9d 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -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
}