From f6150862d26b08e0c026f744adcea47d47a6fc2c Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Thu, 25 Apr 2013 02:58:05 +0000 Subject: [PATCH] 2013-04-25 Hui Zhu PR gdb/15186 * ax.c (ax_printf): Add fflush. --- gdb/gdbserver/ChangeLog | 6 ++++++ gdb/gdbserver/ax.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 25b1be2..cde4ff4 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2013-04-25 Hui Zhu + + PR gdb/15186 + + * ax.c (ax_printf): Add fflush. + 2013-04-22 Tom Tromey * Makefile.in (SFILES): Add filestuff.c. diff --git a/gdb/gdbserver/ax.c b/gdb/gdbserver/ax.c index afeeaed..cd5cf2b 100644 --- a/gdb/gdbserver/ax.c +++ b/gdb/gdbserver/ax.c @@ -905,6 +905,7 @@ ax_printf (CORE_ADDR fn, CORE_ADDR chan, const char *format, } free_format_pieces (fpieces); + fflush (stdout); } /* The agent expression evaluator, as specified by the GDB docs. It -- 2.7.4