[PATCH 2/2] gdb: add new version style
Tom Tromey
tom@tromey.com
Wed Jan 20 19:39:38 GMT 2021
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
Andrew> gdb/ChangeLog:
Andrew> * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
Andrew> (version_style): Define.
Andrew> (cli_style_option::cli_style_option): Add intensity parameter, and
Andrew> use as appropriate.
Andrew> (_initialize_cli_style): Register version style set/show commands.
Andrew> * cli/cli-style.h (cli_style_option): Add intensity parameter.
Andrew> (version_style): Declare.
Andrew> * top.c (print_gdb_version): Use version_stype, and styled_string
Andrew> to print the GDB version string.
Andrew> gdb/doc/ChangeLog:
Andrew> * gdb.texinfo (Output Styling): Document version style.
Andrew> gdb/testsuite/ChangeLog:
Andrew> * gdb.base/style.exp (run_style_tests): Add version string test.
Andrew> (test_startup_version_string): Use version style name.
Andrew> * lib/gdb-utils.exp (style): Handle version style name.
This looks good, thanks.
Tom
More information about the Gdb-patches
mailing list