diff options
author | David Taylor <taylor@redhat.com> | 1999-01-14 23:40:25 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 1999-01-14 23:40:25 +0000 |
commit | 1206c6599d41da0ced4f0422f4b0081bf73bdf3b (patch) | |
tree | 091a9659ab047ab65426859d6ce0c191d95aa22a /gdb | |
parent | dab43dfdcd6648aa8791175b5566791949baafdc (diff) | |
download | gdb-1206c6599d41da0ced4f0422f4b0081bf73bdf3b.zip gdb-1206c6599d41da0ced4f0422f4b0081bf73bdf3b.tar.gz gdb-1206c6599d41da0ced4f0422f4b0081bf73bdf3b.tar.bz2 |
fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/remote-mm.c | 2 | ||||
-rw-r--r-- | gdb/remote-udi.c | 4 | ||||
-rw-r--r-- | gdb/symmisc.c | 12 |
4 files changed, 20 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 897342f..0eb69b1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index c10f97e..0e5828c 100644 --- a/gdb/remote-mm.c +++ b/gdb/remote-mm.c @@ -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; diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index bbfe0bd..da982ce 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -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; diff --git a/gdb/symmisc.c b/gdb/symmisc.c index db13aa8..c876e4b 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -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"); } } |