Skip to content

Commit

Permalink
gdb/doc: move @anchor off @item line
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
T-J-Teru committed Jul 30, 2024
1 parent f722345 commit a7763df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gdb/doc/gdb.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7763df

Please sign in to comment.