aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-11-26 16:19:17 -0700
committerTom Tromey <tom@tromey.com>2018-12-28 12:49:54 -0700
commit140a4bc099820c909da0eac1df0f56ec468ad3dd (patch)
tree6f083bf9fd52c4fb7357641abfcbc6bcea43b5d0 /gdb/NEWS
parent62f29fda90cf1d5a1899f57ef78452471c707fd6 (diff)
downloadbinutils-140a4bc099820c909da0eac1df0f56ec468ad3dd.zip
binutils-140a4bc099820c909da0eac1df0f56ec468ad3dd.tar.gz
binutils-140a4bc099820c909da0eac1df0f56ec468ad3dd.tar.bz2
Document the "set style" commands
This documents the new "set style" commands. gdb/ChangeLog 2018-12-28 Tom Tromey <tom@tromey.com> * NEWS: Mention terminal styling. gdb/doc/ChangeLog 2018-12-28 Tom Tromey <tom@tromey.com> * gdb.texinfo (Output Styling): New node.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS30
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 913f3ae..c9e801c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -53,6 +53,11 @@
binaries. This ensures that 'kevent' system calls are caught for
binaries using either the old or new ABIs.
+* Terminal styling is now available for the CLI and the TUI. GNU
+ Source Highlight can additionally be used to provide styling of
+ source code snippets. See the "set style" commands, below, for more
+ information.
+
* New targets
NXP S12Z s12z-*-elf
@@ -130,6 +135,31 @@ set tui tab-width NCHARS
show tui tab-width NCHARS
"set tui tab-width" replaces the "tabset" command, which has been deprecated.
+set style enabled [on|off]
+show style enabled
+ Enable or disable terminal styling. Styling is enabled by default
+ on most hosts.
+
+set style filename foreground COLOR
+set style filename background COLOR
+set style filename intensity VALUE
+ Control the styling of file names.
+
+set style function foreground COLOR
+set style function background COLOR
+set style function intensity VALUE
+ Control the styling of function names.
+
+set style variable foreground COLOR
+set style variable background COLOR
+set style variable intensity VALUE
+ Control the styling of variable names.
+
+set style address foreground COLOR
+set style address background COLOR
+set style address intensity VALUE
+ Control the styling of addresses.
+
* MI changes
** The '-data-disassemble' MI command now accepts an '-a' option to