* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index b930aaa4a4717ddf5b9a7a271f22c6466bdef42a..560050727e74c750eb26feaeeccdf5deec9f2556 100644 (file)
@@ -24,22 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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 */
@@ -97,7 +81,7 @@ print_387_control_word (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));
 }
 
@@ -123,6 +107,9 @@ print_387_status_word (status)
          (status & 0x0400) != 0,
          (status & 0x0200) != 0,
          (status & 0x0100) != 0);
-  
+
+  /* FIXME: Someone claims this should be 7 - (status >> 11) & 7 for AIX.
+     What's the story?  Is the following just wrong or are differing
+     notations in use?  */
   printf ("top %d\n", (status >> 11) & 7);
 }
This page took 0.02306 seconds and 4 git commands to generate.