diff options
author | Tom Tromey <tromey@adacore.com> | 2019-03-08 13:54:07 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-03-14 05:47:11 -0600 |
commit | d085f98901ccd6c9764b93d3983f3c7797addc4f (patch) | |
tree | bdd1be3d6e40f4b72782ae0db0da3fc80dfe93c2 /gdb/doc/Doxyfile-gdb-xref.in | |
parent | 6f11e6824e15bd40fe1e7b245a22865c6ef8c7bd (diff) | |
download | gdb-d085f98901ccd6c9764b93d3983f3c7797addc4f.zip gdb-d085f98901ccd6c9764b93d3983f3c7797addc4f.tar.gz gdb-d085f98901ccd6c9764b93d3983f3c7797addc4f.tar.bz2 |
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.
Diffstat (limited to 'gdb/doc/Doxyfile-gdb-xref.in')
0 files changed, 0 insertions, 0 deletions