aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-03-02 21:42:54 +0200
committerEli Zaretskii <eliz@gnu.org>2019-03-02 21:42:54 +0200
commite3624a40aeb31065c968d0d3a1d55fdf8e8a4e3c (patch)
tree96f146d1c935026bab9abf35b1b14817748ac7b7 /gdb/doc
parenta6a4b2c636b29de09dea890b448f99804ef7bc18 (diff)
downloadgdb-e3624a40aeb31065c968d0d3a1d55fdf8e8a4e3c.zip
gdb-e3624a40aeb31065c968d0d3a1d55fdf8e8a4e3c.tar.gz
gdb-e3624a40aeb31065c968d0d3a1d55fdf8e8a4e3c.tar.bz2
Fix documentation of styles.
gdb/doc/ChangeLog: 2019-03-02 Eli Zaretskii <eliz@gnu.org> * gdb.texinfo (Output Styling): Fix typos. Document the default foreground colors of the available styles.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo16
2 files changed, 15 insertions, 6 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a5d1c21..6e95f93 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2019-03-02 Eli Zaretskii <eliz@gnu.org>
+
+ * gdb.texinfo (Output Styling): Fix typos. Document the default
+ foreground colors of the available styles.
+
2019-02-27 Kevin Buettner <kevinb@redhat.com>
* gdb.texinfo (Configure Options): Document minimum python
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8b61cc1..f2028f8 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -24539,13 +24539,13 @@ For example, the style of file names can be controlled using the
@item set style filename background @var{color}
Set the background to @var{color}. Valid colors are @samp{none}
(meaning the terminal's default color), @samp{black}, @samp{red},
-@samp{green}, @samp{yellow}, @samp{vlue}, @samp{magenta}, @samp{cyan},
+@samp{green}, @samp{yellow}, @samp{blue}, @samp{magenta}, @samp{cyan},
and@samp{white}.
@item set style filename foreground @var{color}
Set the foreground to @var{color}. Valid colors are @samp{none}
(meaning the terminal's default color), @samp{black}, @samp{red},
-@samp{green}, @samp{yellow}, @samp{vlue}, @samp{magenta}, @samp{cyan},
+@samp{green}, @samp{yellow}, @samp{blue}, @samp{magenta}, @samp{cyan},
and@samp{white}.
@item set style filename intensity @var{value}
@@ -24556,19 +24556,23 @@ Set the intensity to @var{value}. Valid intensities are @samp{normal}
The style-able objects are:
@table @code
@item filename
-Control the styling of file names.
+Control the styling of file names. By default, this style's
+foreground color is green.
@item function
Control the styling of function names. These are managed with the
-@code{set style function} family of commands.
+@code{set style function} family of commands. By default, this
+style's foreground color is yellow.
@item variable
Control the styling of variable names. These are managed with the
-@code{set style variable} family of commands.
+@code{set style variable} family of commands. By default, this style's
+foreground color is cyan.
@item address
Control the styling of addresses. These are managed with the
-@code{set style address} family of commands.
+@code{set style address} family of commands. By default, this style's
+foreground color is blue.
@end table
@node Numbers