aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-16 11:40:15 -0600
committerTom Tromey <tromey@adacore.com>2024-05-17 10:01:13 -0600
commitf2e4bd45d95747128aefc1362129081deeb99d08 (patch)
treeef30b87f521be5a44c806f0ddf882aceece322c5 /gdb/remote-sim.c
parent5c51acfcce1e1ed997e3c2504c2a93a9ad16015e (diff)
downloadfsf-binutils-gdb-f2e4bd45d95747128aefc1362129081deeb99d08.zip
fsf-binutils-gdb-f2e4bd45d95747128aefc1362129081deeb99d08.tar.gz
fsf-binutils-gdb-f2e4bd45d95747128aefc1362129081deeb99d08.tar.bz2
Remove gdb_stdtargerr
This patch removes gdb_stdtargerr. There doesn't seem to be a need for this -- it is always the same as stdtarg, and (I believe) has been for many years. Approved-By: Andrew Burgess <aburgess@redhat.com>
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. */