aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
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/gdbarch.h
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/gdbarch.h')
-rw-r--r--gdb/gdbarch.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 7d77cf9..db8c3e1 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -789,22 +789,9 @@ extern void set_gdbarch_do_registers_info (struct gdbarch *gdbarch, gdbarch_do_r
#endif
#endif
-/* Default (function) for non- multi-arch platforms. */
-#if (!GDB_MULTI_ARCH) && !defined (PRINT_FLOAT_INFO)
-#define PRINT_FLOAT_INFO() (default_print_float_info ())
-#endif
-
-typedef void (gdbarch_print_float_info_ftype) (void);
-extern void gdbarch_print_float_info (struct gdbarch *gdbarch);
+typedef void (gdbarch_print_float_info_ftype) (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame);
+extern void gdbarch_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame);
extern void set_gdbarch_print_float_info (struct gdbarch *gdbarch, gdbarch_print_float_info_ftype *print_float_info);
-#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (PRINT_FLOAT_INFO)
-#error "Non multi-arch definition of PRINT_FLOAT_INFO"
-#endif
-#if GDB_MULTI_ARCH
-#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) || !defined (PRINT_FLOAT_INFO)
-#define PRINT_FLOAT_INFO() (gdbarch_print_float_info (current_gdbarch))
-#endif
-#endif
/* MAP a GDB RAW register number onto a simulator register number. See
also include/...-sim.h. */