[PATCH] gdb: Don't flush line wrap buffer before adding newline

Tom Tromey tom@tromey.com
Tue Feb 5 15:27:00 GMT 2019


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> 	* utils.c (fputs_maybe_filtered): Don't flush the line wrap buffer
Andrew> 	before inserting a newline for line-wrapping.

Thanks, this is ok.  I actually have the same patch and a very similar
test on my branch to fix up the pager when styles are enabled.  That
branch has a few more fixes, too; but it doesn't hurt to land this one
now.

Tom



More information about the Gdb-patches mailing list