aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-05-18 11:35:32 -0600
committerTom Tromey <tom@tromey.com>2024-12-12 20:18:23 -0700
commit9e69a2e127940cc577d4e0c6eefdfe33a31ea397 (patch)
tree2cd18c8f6560a6089bf1a88de3dcb86797a3c05d /gdb/doc
parent62e4d4d3ad68fe17113069b99d80a9ee9df87cb1 (diff)
downloadbinutils-9e69a2e127940cc577d4e0c6eefdfe33a31ea397.zip
binutils-9e69a2e127940cc577d4e0c6eefdfe33a31ea397.tar.gz
binutils-9e69a2e127940cc577d4e0c6eefdfe33a31ea397.tar.bz2
Introduce "command" styling
This adds a new "command" style that is used when styling the name of a gdb command. Note that not every instance of a command name that is output by gdb is changed here. There is currently no way to style error() strings, and there is no way to mark up command help strings. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31747 Reviewed-By: Eli Zaretskii <eliz@gnu.org> Reviewed-By: Keith Seitz <keiths@redhat.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 85ac3d9..0254b5a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -27864,6 +27864,10 @@ their characteristics and the visual aspect of each style.
The style-able objects are:
@table @code
+@item command
+Control the styling of any @value{GDBN} commands that are displayed by
+@value{GDBN}. By default, this style's intensity is bold.
+
@item filename
Control the styling of file names and URLs. By default, this style's
foreground color is green.