fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
authorDavid Taylor <taylor@redhat.com>
Thu, 14 Jan 1999 23:40:25 +0000 (23:40 +0000)
committerDavid Taylor <taylor@redhat.com>
Thu, 14 Jan 1999 23:40:25 +0000 (23:40 +0000)
and fwrite.

gdb/ChangeLog
gdb/remote-mm.c
gdb/remote-udi.c
gdb/symmisc.c

index 897342f..0eb69b1 100644 (file)
@@ -1,3 +1,14 @@
+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
index c10f97e..0e5828c 100644 (file)
@@ -542,7 +542,7 @@ mm_wait (status)
         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;
index bbfe0bd..da982ce 100644 (file)
@@ -453,13 +453,13 @@ udi_wait (pid, status)
               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;
 
index db13aa8..c876e4b 100644 (file)
@@ -1017,9 +1017,9 @@ maintenance_check_symtabs (ignore, from_tty)
          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;
        }
@@ -1030,13 +1030,13 @@ maintenance_check_symtabs (ignore, from_tty)
          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");
        }
     }