binutils-gdb/gdb/cli
Tom Tromey d085f98901 Add the "set style source" command
This adds "set style source" (and "show style source") commands.  This
gives the user control over whether source code is highlighted.

gdb/ChangeLog
2019-03-14  Tom Tromey  <tromey@adacore.com>

	* NEWS: Add item for "style sources" commands.
	* source-cache.c (source_cache::get_source_lines): Check
	source_styling.
	* cli/cli-style.c (source_styling): New global.
	(_initialize_cli_style): Add "style sources" commands.
	(show_style_sources): New function.
	* cli/cli-style.h (source_styling): Declare.

gdb/doc/ChangeLog
2019-03-14  Tom Tromey  <tromey@adacore.com>

	* gdb.texinfo (Output Styling): Document "set style source" and
	"show style source".

gdb/testsuite/ChangeLog
2019-03-14  Tom Tromey  <tromey@adacore.com>

	* gdb.base/style.exp: Add "set style sources" test.
2019-03-14 05:47:11 -06:00
..
cli-cmds.c Remove excess calls to gdb_flush 2019-03-05 08:55:51 -07:00
cli-cmds.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-decode.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-decode.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-dump.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
cli-interp.c C++-ify struct thread_fsm 2019-02-07 06:08:33 -07:00
cli-interp.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-logging.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-script.c Remove excess calls to gdb_flush 2019-03-05 08:55:51 -07:00
cli-script.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-setshow.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-setshow.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-style.c Add the "set style source" command 2019-03-14 05:47:11 -06:00
cli-style.h Add the "set style source" command 2019-03-14 05:47:11 -06:00
cli-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-utils.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00