]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/doc] Use more lower-case in @sc in the documentation
authorTom de Vries <tdevries@suse.de>
Mon, 27 Jan 2025 11:39:56 +0000 (12:39 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 27 Jan 2025 11:39:56 +0000 (12:39 +0100)
When building gdb with an older makeinfo (4.13), I run into:
...
gdb/doc/gdb.texinfo:49064: warning: @sc argument all uppercase, thus no effect.
...

Using a grep, I found one more instance:
...
$ grep @sc gdb/doc/*.tex* | egrep -v  '@sc{[^A-Z]*}'
gdb/doc/gdb.texinfo:\
Bit 1 (@sc{ZA}) shows whether the @code{ZA} register state is active (in use) or
gdb/doc/python.texi:\
corresponding @sc{GDB/MI} command's output.  Refer to the
...

Fix this by using lowercase letters in the @sc argument, similar to how that
was done in commit c96452ad168 ("Use lower-case in @sc in the documentation").

Tested by rebuilding the documentation.

gdb/doc/gdb.texinfo
gdb/doc/python.texi

index b52fa6618ccdb30375340e82f99c846247e151c4..980ccdb5f4049a4ac44c2cd2fb97a25a9963769b 100644 (file)
@@ -49375,7 +49375,7 @@ bytes.  @xref{svl}.
 @item
 @code{SVCR} is a 64-bit status pseudo-register with two valid bits.  Bit 0
 (@sc{sm}) shows whether the streaming @acronym{SVE} mode is enabled or disabled.
-Bit 1 (@sc{ZA}) shows whether the @code{ZA} register state is active (in use) or
+Bit 1 (@sc{za}) shows whether the @code{ZA} register state is active (in use) or
 not.
 @xref{aarch64 sme svcr}.
 
index 6087b080d4318bf15883d4c5867fd69f9ee2c55c..c0bd9e7992f3214cd388fa90b170cfff52979463 100644 (file)
@@ -4952,7 +4952,7 @@ command, a string.  The arguments, @var{arg}, are passed to the
 command.  Each argument must also be a string.
 
 This function returns a Python dictionary whose contents reflect the
-corresponding @sc{GDB/MI} command's output.  Refer to the
+corresponding @sc{gdb/mi} command's output.  Refer to the
 documentation for these commands for details.  Lists are represented
 as Python lists, and tuples are represented as Python dictionaries.