diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-15 23:41:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-15 23:41:20 +0000 |
commit | 7099c80e122b5d550bd72378472d272890797662 (patch) | |
tree | 0ac6bc83e234d3af7002308de4e0dd30aec44a34 /gdb/arch-utils.c | |
parent | 14e00cd062ab79eaeaa5b81327d9df29626a6a9f (diff) | |
download | gdb-7099c80e122b5d550bd72378472d272890797662.tar.gz |
2002-08-15 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
Add `args' parameter.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-tdep.c (arm_print_float_info): Add the parameter `args'.
* infcmd.c (float_info): Call print_float_info.
(print_float_info): New function. By default, print the
floating-point registers.
* arch-utils.h (default_print_float_info): Delete declaration.
* arch-utils.c (default_print_float_info): Delete function.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 5497e83308b..170be862eaf 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -250,21 +250,6 @@ default_double_format (struct gdbarch *gdbarch) } } -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 -#error "FLOAT_INFO defined in multi-arch" -#endif - FLOAT_INFO; -#else - fprintf_filtered (file, "\ -No floating point info available for this processor.\n"); -#endif -} - /* Misc helper functions for targets. */ int |