aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2013-04-25 02:58:05 +0000
committerHui Zhu <teawater@gmail.com>2013-04-25 02:58:05 +0000
commitf6150862d26b08e0c026f744adcea47d47a6fc2c (patch)
tree83628995fbcfe55bf967166b083ba84775d9b2a7 /gdb/gdbserver
parent320395c55a0ec0c47ea3214130792de7332ab956 (diff)
downloadgdb-f6150862d26b08e0c026f744adcea47d47a6fc2c.zip
gdb-f6150862d26b08e0c026f744adcea47d47a6fc2c.tar.gz
gdb-f6150862d26b08e0c026f744adcea47d47a6fc2c.tar.bz2
2013-04-25 Hui Zhu <hui@codesourcery.com>
PR gdb/15186 * ax.c (ax_printf): Add fflush.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog6
-rw-r--r--gdb/gdbserver/ax.c1
2 files changed, 7 insertions, 0 deletions
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 <hui@codesourcery.com>
+
+ PR gdb/15186
+
+ * ax.c (ax_printf): Add fflush.
+
2013-04-22 Tom Tromey <tromey@redhat.com>
* 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