]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Fix flushing bug in tui_puts_internal
authorTom Tromey <tom@tromey.com>
Tue, 2 Jul 2019 21:18:27 +0000 (15:18 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:20 +0000 (12:19 -0600)
commit88b7e7ccb958220adabc307e6d38fc66877820fb
tree644a77326e1bef1fb2a315d2acee7f40fd65d4cc
parent0fcd37117e94e5b9bf5f4aaa4dccc8038b38398e
Fix flushing bug in tui_puts_internal

A while back I changed gdb not to flush in some places.  It turned out
that this broke the TUI a little.  An easy way to see it is to run
"gdb -tui -nx", then "file gdb" at the gdb prompt.  gdb will print the
usual "Reading symbols..." message -- but it won't appear on-screen
until the reading is complete.

This patch changes the TUI to do the equivalent of line buffering in
tui_puts_internal.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-io.c (tui_puts_internal): Call wrefresh if newline is
seen.
gdb/ChangeLog
gdb/tui/tui-io.c