changes for SVR3.2
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index 24e8884ef8348882aaed3c8c9c56668c5000c885..b0f00880bd14a982526ca9b53de498bdd36d435b 100644 (file)
@@ -17,31 +17,13 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#include <stdio.h>
 #include "defs.h"
-#include "param.h"
 #include "frame.h"
 #include "inferior.h"
 #include "language.h"
 #include "gdbcore.h"
 #include "ieee-float.h"
 
-#ifdef USG
-#include <sys/types.h>
-#endif
-
-#include <sys/param.h>
-#include <sys/dir.h>
-#include <signal.h>
-#include <sys/user.h>
-#include <sys/ioctl.h>
-#include <fcntl.h>
-
-#include <sys/file.h>
-#include <sys/stat.h>
-
-#include <sys/reg.h>
-
 struct ext_format ext_format_i387 = {
 /* tot sbyte smask expbyte     manbyte */
    10, 9,    0x80, 9,8,                4,0             /* i387 */
@@ -49,23 +31,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;
 {
-  ieee_double_to_extended (&ext_format_i387, (double *)from, 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 ");
@@ -96,13 +81,13 @@ unsigned short control;
       printf (";");
     }
   printf ("\n");
-  if (control & 0xe080) printf ("warning: reserved bits on: %s\n",
+  if (control & 0xe080) warning ("reserved bits on: %s\n",
                                local_hex_string(control & 0xe080));
 }
 
 void
 print_387_status_word (status)
-     unsigned short status;
+     unsigned int status;
 {
   printf ("status %s: ", local_hex_string (status));
   if (status & 0xff) 
This page took 0.026301 seconds and 4 git commands to generate.