summaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-08-15 17:36:57 +0000
committerMark Kettenis <kettenis@gnu.org>2002-08-15 17:36:57 +0000
commit954ac361736193eeb07f7f85c9a43694361a84f6 (patch)
tree06e5dd2fda685fce2d2e4ad5713ed9ea6cc0b37c /gdb/i387-tdep.h
parent50d63aad098c1eee074ac49015856138962012fb (diff)
downloadgdb-954ac361736193eeb07f7f85c9a43694361a84f6.tar.gz
* i387-tdep.h (i387_print_float_info): New prototype.
* i387-tdep.c (print_i387_value, print_i387_ext, print_i387_status_word, print_i387_control_word): Add `struct ui_file *' argument and use it for output. (i387_print_float_info): Renamed from i387_float_info. Add `struct gdbarch *' and `struct ui_file *' arguments and use the latter for output. * i386-tdep.c: Include "i387-tdep.h". (i386_gdbarch_init): Set print_float_info. * config/i386/tm-i386.h (i387_float_info): Remove prototype. (FLOAT_INFO): Remove define.
Diffstat (limited to 'gdb/i387-tdep.h')
-rw-r--r--gdb/i387-tdep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h
index 5bfd06eb710..451bb988deb 100644
--- a/gdb/i387-tdep.h
+++ b/gdb/i387-tdep.h
@@ -21,6 +21,12 @@
#ifndef I387_TDEP_H
#define I387_TDEP_H
+/* Print out the i387 floating point state. */
+
+extern void i387_print_float_info (struct gdbarch *gdbarch,
+ struct ui_file *file,
+ struct frame_info *frame);
+
/* Fill register REGNUM in GDB's register array with the appropriate
value from *FSAVE. This function masks off any of the reserved
bits in *FSAVE. */