aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-07-05 17:58:44 +0000
committerJason Molenda <jmolenda@apple.com>1999-07-05 17:58:44 +0000
commit43ff13b4182f3853e19e9100c84313a6e9302b70 (patch)
treea546b011131cdb9e4d6200dd1f2b9432ffa01539 /gdb/remote-sim.c
parentf11523b01363bac4f0b7384c30fee355e9943b99 (diff)
downloadgdb-43ff13b4182f3853e19e9100c84313a6e9302b70.zip
gdb-43ff13b4182f3853e19e9100c84313a6e9302b70.tar.gz
gdb-43ff13b4182f3853e19e9100c84313a6e9302b70.tar.bz2
import gdb-1999-07-05 snapshot
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index b8ced91..8923aec 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -197,10 +197,7 @@ gdb_os_write_stdout (p, buf, len)
{
b[0] = buf[i];
b[1] = 0;
- if (target_output_hook)
- target_output_hook (b);
- else
- fputs_filtered (b, gdb_stdout);
+ fputs_unfiltered (b, gdb_stdtarg);
}
return len;
}
@@ -229,10 +226,7 @@ gdb_os_write_stderr (p, buf, len)
{
b[0] = buf[i];
b[1] = 0;
- if (target_output_hook)
- target_output_hook (b);
- else
- fputs_filtered (b, gdb_stderr);
+ fputs_unfiltered (b, gdb_stdtarg);
}
return len;
}