summaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-07-05 17:58:44 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-07-05 17:58:44 +0000
commit898586e8e8dcfa495ccf88fce9d8a3fe4d3a7625 (patch)
tree1472a0286b800398c881dd858557d7b60aa942e2 /gdb/remote-sim.c
parent22c86e7f4ad1b5d1172d47119f49a8dbba35f08d (diff)
downloadgdb-898586e8e8dcfa495ccf88fce9d8a3fe4d3a7625.tar.gz
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 b8ced919847..8923aec658d 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;
}