This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 51/61] Fix flushing bug in tui_puts_internal


On 7/4/19 6:03 PM, Tom Tromey wrote:
> 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.
> 
> 2019-07-04  Tom Tromey  <tom@tromey.com>
> 
> 	* tui/tui-io.c (tui_puts_internal): Call wrefresh is newline is

"if newline"

> 	seen.
Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]