aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i387-tdep.c')
-rw-r--r--gdb/i387-tdep.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index 0a85e2e..c968ade 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -48,23 +48,26 @@ struct ext_format ext_format_i387 = {
/* FIXME: Eliminate these routines when we have the time to change all
the callers. */
+
void
i387_to_double (from, to)
- char *from, *to;
+ char *from;
+ char *to;
{
ieee_extended_to_double (&ext_format_i387, from, (double *)to);
}
void
double_to_i387 (from, to)
- char *from, *to;
+ char *from;
+ char *to;
{
double_to_ieee_extended (&ext_format_i387, (double *)from, to);
}
void
print_387_control_word (control)
-unsigned short control;
+ unsigned int control;
{
printf ("control %s: ", local_hex_string(control));
printf ("compute to ");
@@ -101,7 +104,7 @@ unsigned short control;
void
print_387_status_word (status)
- unsigned short status;
+ unsigned int status;
{
printf ("status %s: ", local_hex_string (status));
if (status & 0xff)