aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 38d7f5b..f92de61 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -380,7 +380,7 @@ gdb_os_write_stderr (host_callback *p, const char *buf, int len)
{
b[0] = buf[i];
b[1] = 0;
- gdb_stdtargerr->puts (b);
+ gdb_stdtarg->puts (b);
}
return len;
}
@@ -390,7 +390,7 @@ gdb_os_write_stderr (host_callback *p, const char *buf, int len)
static void
gdb_os_flush_stderr (host_callback *p)
{
- gdb_stdtargerr->flush ();
+ gdb_stdtarg->flush ();
}
/* GDB version of gdb_printf callback. */