aboutsummaryrefslogtreecommitdiff
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
commit61113f8bf100e2b95725ecda43c3ae129336ee6e (patch)
treeabe98a0878836f5c05850c4728300b6586d10b60 /gdb/i387-tdep.h
parent5415e7c5d4ce0b49756c8a7ecd800c323e0584d3 (diff)
downloadgdb-61113f8bf100e2b95725ecda43c3ae129336ee6e.zip
gdb-61113f8bf100e2b95725ecda43c3ae129336ee6e.tar.gz
gdb-61113f8bf100e2b95725ecda43c3ae129336ee6e.tar.bz2
* 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 5bfd06e..451bb98 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. */