diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-08-15 17:36:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-08-15 17:36:57 +0000 |
commit | 61113f8bf100e2b95725ecda43c3ae129336ee6e (patch) | |
tree | abe98a0878836f5c05850c4728300b6586d10b60 /gdb/i386-tdep.c | |
parent | 5415e7c5d4ce0b49756c8a7ecd800c323e0584d3 (diff) | |
download | gdb-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/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index a0fb448..39d3bdd 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -38,6 +38,7 @@ #include "gdb_assert.h" #include "i386-tdep.h" +#include "i387-tdep.h" /* Names of the registers. The first 10 registers match the register numbering scheme used by GCC for stabs and DWARF. */ @@ -1488,6 +1489,8 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_max_register_virtual_size (gdbarch, I386_MAX_REGISTER_SIZE); set_gdbarch_register_virtual_type (gdbarch, i386_register_virtual_type); + set_gdbarch_print_float_info (gdbarch, i387_print_float_info); + set_gdbarch_get_longjmp_target (gdbarch, i386_get_longjmp_target); set_gdbarch_use_generic_dummy_frames (gdbarch, 1); |