aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-mm.c')
-rw-r--r--gdb/remote-mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c
index 3387ee5..b7d3916 100644
--- a/gdb/remote-mm.c
+++ b/gdb/remote-mm.c
@@ -541,7 +541,7 @@ mm_wait (status)
i=in_msg_buf->channel1_msg.length;
in_msg_buf->channel1_msg.data[i] = '\0';
printf("%s", in_msg_buf->channel1_msg.data);
- fflush(stdout);
+ gdb_flush(stdout);
/* Send CHANNEL1_ACK message */
out_msg_buf->channel1_ack_msg.code = CHANNEL1_ACK;
out_msg_buf->channel1_ack_msg.length = 0;