]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/doc: move @anchor off @item line
authorAndrew Burgess <aburgess@redhat.com>
Tue, 30 Jul 2024 10:19:14 +0000 (11:19 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 30 Jul 2024 12:33:45 +0000 (13:33 +0100)
When building the GDB info manual I see this warning:

  gdb.texinfo:41447: warning: @anchor should not appear on @item line

And indeed line 41447 looks like this:

  @item @anchor{maint info breakpoints}maint info breakpoints

I propose moving the @anchor{...} part to the previous line which
silences the warning.

Approved-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/gdb.texinfo

index b900b5d29657e7a8c39c6b8082b8a1283512a5fa..3315c65843249974da91aeecc9a3182cd3f63453 100644 (file)
@@ -41444,7 +41444,8 @@ This command is useful for debugging the agent version of dynamic
 printf (@pxref{Dynamic Printf}).
 
 @kindex maint info breakpoints
-@item @anchor{maint info breakpoints}maint info breakpoints
+@anchor{maint info breakpoints}
+@item maint info breakpoints
 Using the same format as @samp{info breakpoints}, display both the
 breakpoints you've set explicitly, and those @value{GDBN} is using for
 internal purposes.  Internal breakpoints are shown with negative