[PATCH 00/16] Add styling to the gdb CLI and TUI

Tom Tromey tom@tromey.com
Wed Nov 28 00:16:00 GMT 2018


This patch series adds terminal styling (colorizing) to gdb's CLI and
TUI.  It is a refresh of an earlier RFC series, but some parts have
changed, and now there are tests and documentation.  It also includes
some TUI colorizing patches that were sent separately.

This series doesn't support the Windows console.  I don't know
anything about it.  So, it defaults to disabling styling on Windows
hosts.  This could be fixed by doing something like what the TUI does:
filter escape sequences from the output and apply them by some other
means.

More styling could be done.  It's relatively easy to add a new
style-able object.

If you want to try this out, it is the branch "submit/colorize" in my
github repository.

Regression tested on x86-64 Fedora 28.  I think it was too big for the
buildbot.

Tom




More information about the Gdb-patches mailing list