aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-15 23:41:20 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-15 23:41:20 +0000
commit23e3a7ac79ad6f6648bd99602ba715874ce9ac9a (patch)
treeaeb8f594b82b8208465506f08189bc44ca618e88 /gdb/arch-utils.c
parent8de397a5ad45db45f00ce9b58c2b8b2d7b5aa765 (diff)
downloadgdb-23e3a7ac79ad6f6648bd99602ba715874ce9ac9a.zip
gdb-23e3a7ac79ad6f6648bd99602ba715874ce9ac9a.tar.gz
gdb-23e3a7ac79ad6f6648bd99602ba715874ce9ac9a.tar.bz2
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.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 5497e83..170be86 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