* config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.
[binutils-gdb.git] / gdb / sp64-tdep.c
index c6c4a8eda94cffee9e8e9b597b1c09dece89b98a..d676112b20784bec1fa2e41faa333b36a240334d 100644 (file)
@@ -23,7 +23,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "inferior.h"
 #include "obstack.h"
 #include "target.h"
-#include "ieee-float.h"
 
 /*#include "symfile.h" /* for objfiles.h */
 /*#include "objfiles.h" /* for find_pc_section */
@@ -89,7 +88,7 @@ sparc64_single_step (ignore)
       npc4 = next_pc + 4; /* branch not taken */
 
       target_insert_breakpoint (next_pc, break_mem[0]);
-      /* printf ("set break at %x\n",next_pc); */
+      /* printf_unfiltered ("set break at %x\n",next_pc); */
 
       pc = read_register (PC_REGNUM);
       pc_instruction = read_memory_integer (pc, sizeof(pc_instruction));
@@ -256,7 +255,7 @@ dump_ccreg (reg, val)
      char *reg;
      int val;
 {
-  printf ("%s:%s,%s,%s,%s", reg,
+  printf_unfiltered ("%s:%s,%s,%s,%s", reg,
          val & 8 ? "N" : "NN",
          val & 4 ? "Z" : "NZ",
          val & 2 ? "O" : "NO",
@@ -274,28 +273,16 @@ sparc_print_register_hook (regno)
       char doublereg[8];               /* two float regs */
       if (!read_relative_register_raw_bytes ((regno), doublereg))
        {
-         printf("\t");
-         print_floating (doublereg, builtin_type_double, stdout);
+         printf_unfiltered("\t");
+         print_floating (doublereg, builtin_type_double, gdb_stdout);
        }
     }
   else if ((regno) == CCR_REGNUM)
     {
       int ccr = read_register (CCR_REGNUM);
-      printf("\t");
+      printf_unfiltered("\t");
       dump_ccreg ("xcc", ccr >> 4);
-      printf(", ");
+      printf_unfiltered(", ");
       dump_ccreg ("icc", ccr & 15);
     }
 }
-
-/* We try to support 32 bit and 64 bit pointers.
-   We are called when the Shade target is selected by shadeif.c.  */
-
-int target_ptr_bit = 64;       /* default */
-
-void
-set_target_ptr_bit(ptr_bit)
-     int ptr_bit;
-{
-  target_ptr_bit = ptr_bit;
-}