aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-rdp.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-07-07 17:31:57 +0000
committerJason Molenda <jmolenda@apple.com>1999-07-07 17:31:57 +0000
commit9846de1bb5d61521885ef51fa6b99121ec1be577 (patch)
tree56c938421752cf160876766aaee7e729a8e47050 /gdb/remote-rdp.c
parentf04894943e847e4c9dec6a7a73b9e03a3c0aa90a (diff)
downloadfsf-binutils-gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.zip
fsf-binutils-gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.tar.gz
fsf-binutils-gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.tar.bz2
import gdb-1999-07-07 pre reformat
Diffstat (limited to 'gdb/remote-rdp.c')
-rw-r--r--gdb/remote-rdp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c
index 1d596a4..7b979d2 100644
--- a/gdb/remote-rdp.c
+++ b/gdb/remote-rdp.c
@@ -186,7 +186,7 @@ get_byte ()
int c = SERIAL_READCHAR (io, timeout);
if (remote_debug)
- printf ("[%02x]\n", c);
+ fprintf_unfiltered (gdb_stdlog, "[%02x]\n", c);
if (c == SERIAL_TIMEOUT)
{
@@ -220,7 +220,7 @@ put_byte (val)
char val;
{
if (remote_debug)
- printf ("(%02x)\n", val);
+ fprintf_unfiltered (gdb_stdlog, "(%02x)\n", val);
SERIAL_WRITE (io, &val, 1);
}
@@ -236,7 +236,7 @@ put_word (val)
b[3] = val >> 24;
if (remote_debug)
- printf ("(%04x)", val);
+ fprintf_unfiltered (gdb_stdlog, "(%04x)", val);
SERIAL_WRITE (io, b, 4);
}
@@ -314,7 +314,7 @@ rdp_init (cold, tty)
while (!sync && (restype = SERIAL_READCHAR (io, 1)) > 0)
{
if (remote_debug)
- printf_unfiltered ("[%02x]\n", restype);
+ fprintf_unfiltered (gdb_stdlog, "[%02x]\n", restype);
switch (restype)
{
@@ -349,7 +349,7 @@ rdp_init (cold, tty)
int resval = SERIAL_READCHAR (io, 1);
if (remote_debug)
- printf_unfiltered ("[%02x]\n", resval);
+ fprintf_unfiltered (gdb_stdlog, "[%02x]\n", resval);
switch (resval)
{