diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-11 02:30:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-11 02:30:59 +0000 |
commit | 6c39a6b774a715d8b813ab3f913949660d96434e (patch) | |
tree | 28b0808b4045de95b35f7e2b98564d3435c11827 /gdb/arch-utils.c | |
parent | 195c77ab192cb2fb208d3b6b0188a77304c40502 (diff) | |
download | gdb-6c39a6b774a715d8b813ab3f913949660d96434e.tar.gz |
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.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 8e69a6127ad..887aa9d7223 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 } |