diff options
author | Tom de Vries <tdevries@suse.de> | 2025-01-27 12:39:56 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-01-27 12:39:56 +0100 |
commit | 665888ea416e3b9b764ba2290af7dc69dbd6f25c (patch) | |
tree | 6cf99327832adbadc43577c4e1c6c0375f9425d9 /gdb/doc | |
parent | c779771dfe9e4a35b7ba31d1a906dc8273707392 (diff) | |
download | binutils-665888ea416e3b9b764ba2290af7dc69dbd6f25c.zip binutils-665888ea416e3b9b764ba2290af7dc69dbd6f25c.tar.gz binutils-665888ea416e3b9b764ba2290af7dc69dbd6f25c.tar.bz2 |
[gdb/doc] Use more lower-case in @sc in the documentation
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.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/gdb.texinfo | 2 | ||||
-rw-r--r-- | gdb/doc/python.texi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b52fa66..980ccdb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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}. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 6087b08..c0bd9e7 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -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. |