aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-22 01:46:16 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-22 01:46:16 +0000
commit1ab3bf1b148d31aad66735f52f9ff72af8769cd0 (patch)
treef599e61700fc54d6ecd3d090e3d01cf6fa66a801 /gdb/i387-tdep.c
parent8e48d87af60233cc7e8dc18ab4e8f63d223ac20f (diff)
downloadfsf-binutils-gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.zip
fsf-binutils-gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.tar.gz
fsf-binutils-gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.tar.bz2
* Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
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)