aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-rdi.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1999-01-19 02:17:00 +0000
committerAndrew Cagney <cagney@redhat.com>1999-01-19 02:17:00 +0000
commitbc8bd256d091376f708bdd7119b145407a3614b2 (patch)
tree1b1d86da49ee83edefa170d7b3e9db5e57c1824c /gdb/remote-rdi.c
parentab0e22180ab6e94ec2e4562cac1191436410cc03 (diff)
downloadgdb-bc8bd256d091376f708bdd7119b145407a3614b2.zip
gdb-bc8bd256d091376f708bdd7119b145407a3614b2.tar.gz
gdb-bc8bd256d091376f708bdd7119b145407a3614b2.tar.bz2
HPMERGE:
More wrong uses of gdb_stderr and stderr/stdout. More upddates to calls of catch_errors() so that call matches new interface.
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r--gdb/remote-rdi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index 7b6511e..dba920e 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -130,7 +130,7 @@ arm_rdi_start_remote (dummy)
void
voiddummy ()
{
- printf("void dummy\n");
+ fprintf_unfiltered (gdb_stdout, "void dummy\n");
}
static void
@@ -139,7 +139,7 @@ myprint (arg, format, ap)
const char *format;
va_list ap;
{
- vfprintf (stdout, format, ap);
+ vfprintf_unfiltered (gdb_stdout, format, ap);
}
static void
@@ -148,7 +148,7 @@ mywritec (arg, c)
int c;
{
if (isascii (c))
- fputc_unfiltered (c, (FILE *) arg);
+ fputc_unfiltered (c, gdb_stdout);
}
static int
@@ -231,12 +231,12 @@ device is attached to the remote system (e.g. /dev/ttya).");
gdb_hostif.dbgprint = myprint;
gdb_hostif.dbgpause = mypause;
- gdb_hostif.dbgarg = stdout;
+ gdb_hostif.dbgarg = NULL;
gdb_hostif.writec = mywritec;
gdb_hostif.readc = myreadc;
gdb_hostif.write = mywrite;
gdb_hostif.gets = mygets;
- gdb_hostif.hostosarg = stdout;
+ gdb_hostif.hostosarg = NULL;
gdb_hostif.reset = voiddummy;
rslt = angel_RDI_open (10, &gdb_config, &gdb_hostif, NULL);