and fwrite.
+Thu Jan 14 18:29:17 1999  David Taylor  <taylor@texas.cygnus.com>
+
+start-sanitize-carp start-sanitize-vr4xxx
+       * mips-tdep.c (mips_gdbarch_init): fix stream arg in
+       fprintf_unfiltered calls.
+end-sanitize-carp end-sanitize-vr4xxx
+       * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
+       * remote-udi.c (udi_wait): fix stream arg to fwrite.
+       * symmisc.c (maintenance_check_symtabs): fix stream argument to
+       print_address_numeric.
+       
 Wed Jan 13 19:33:16 1999  David Taylor  <taylor@texas.cygnus.com>
 
        * breakpoint.c (insert_breakpoints): insert cast to eliminate
 
         i=in_msg_buf->channel1_msg.length;
         in_msg_buf->channel1_msg.data[i] = '\0';
         printf("%s", in_msg_buf->channel1_msg.data);
-       gdb_flush(stdout);
+       gdb_flush(gdb_stdout);
         /* Send CHANNEL1_ACK message */
         out_msg_buf->channel1_ack_msg.code = CHANNEL1_ACK;
         out_msg_buf->channel1_ack_msg.length = 0;
 
               a whole bunch of output (more than SBUF_MAX, I would
               guess).  It doesn't seem to happen with the simulator.  */
            warning ("UDIGetStdout() failed in udi_wait");
-         fwrite (sbuf, 1, CountDone, gdb_stdout);
+         fwrite (sbuf, 1, CountDone, stdout);
          gdb_flush(gdb_stdout);
          continue;
 
        case UDIStderrReady:
          UDIGetStderr (sbuf, (UDISizeT)SBUF_MAX, &CountDone);
-         fwrite (sbuf, 1, CountDone, gdb_stderr);
+         fwrite (sbuf, 1, CountDone, stderr);
          gdb_flush(gdb_stderr);
          continue;
 
 
          printf_filtered ("Psymtab ");
          puts_filtered (ps->filename);
          printf_filtered (" covers bad range ");
-          print_address_numeric (ps->textlow, 1, stdout);
+          print_address_numeric (ps->textlow, 1, gdb_stdout);
          printf_filtered (" - ");
-          print_address_numeric (ps->texthigh, 1, stdout);
+          print_address_numeric (ps->texthigh, 1, gdb_stdout);
          printf_filtered ("\n");
          continue;
        }
          printf_filtered ("Psymtab ");
          puts_filtered (ps->filename);
          printf_filtered (" covers ");
-          print_address_numeric (ps->textlow, 1, stdout);
+          print_address_numeric (ps->textlow, 1, gdb_stdout);
          printf_filtered (" - ");
-          print_address_numeric (ps->texthigh, 1, stdout);
+          print_address_numeric (ps->texthigh, 1, gdb_stdout);
          printf_filtered (" but symtab covers only ");
-          print_address_numeric (BLOCK_START (b), 1, stdout);
+          print_address_numeric (BLOCK_START (b), 1, gdb_stdout);
          printf_filtered (" - ");
-          print_address_numeric (BLOCK_END (b), 1, stdout);
+          print_address_numeric (BLOCK_END (b), 1, gdb_stdout);
          printf_filtered ("\n");
        }
     }