X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2Fremote-sim.c;h=ce13517a997c73f59a1dad5180a484e380fef79c;hb=faa17681ccf5b45a14424c184d867a390d9e8086;hp=b7ce4672a1a5a55100f1aaa7bca73f52b1ea3899;hpb=5abbbe1d13e03496af5564b997f3c3a2e79b4d73;p=thirdparty%2Fbinutils-gdb.git diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index b7ce4672a1a..ce13517a997 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -360,7 +360,7 @@ gdb_os_write_stdout (host_callback *p, const char *buf, int len) static void gdb_os_flush_stdout (host_callback *p) { - gdb_flush (gdb_stdtarg); + ui_file_flush (gdb_stdtarg); } /* GDB version of os_write_stderr callback. */ @@ -385,7 +385,7 @@ gdb_os_write_stderr (host_callback *p, const char *buf, int len) static void gdb_os_flush_stderr (host_callback *p) { - gdb_flush (gdb_stdtargerr); + ui_file_flush (gdb_stdtargerr); } /* GDB version of printf_filtered callback. */