From: Tom de Vries Date: Mon, 27 Jan 2025 11:39:56 +0000 (+0100) Subject: [gdb/doc] Use more lower-case in @sc in the documentation X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=665888ea416e3b9b764ba2290af7dc69dbd6f25c;p=thirdparty%2Fbinutils-gdb.git [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. --- diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b52fa6618cc..980ccdb5f40 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 6087b080d43..c0bd9e7992f 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.