]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[libctf] Fix warning: @xref should not appear on @multitable line
authorTom de Vries <tdevries@suse.de>
Tue, 25 Feb 2025 07:29:19 +0000 (08:29 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 25 Feb 2025 07:29:19 +0000 (08:29 +0100)
commitf40b59b91240886003b679ff4a3fd51b6b60696a
treea80c649701ada05b79e9562bd676200b7183f935
parent5524062fadf58b8895abc9b0d30c25dd2591df23
[libctf] Fix warning: @xref should not appear on @multitable line

When building gdb, I run into:
...
ctf-spec.texi:809: warning: @xref should not appear on @multitable line
...

The line in question is:
...
@multitable {Kind} {@code{CTF_K_VOLATILE}} {Indicates a type that cannot be represented in CTF, or that} {@xref{Pointers typedefs and cvr-quals}}
...
which defines a prototype row with 4 columns.

However, the table only has 3 colums:
...
@headitem Kind @tab Macro @tab Purpose
...

Fix the warning by removing the item in the prototype row representing a fourth column.

Tested on aarch64-linux.

PR libctf/32044
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32044
libctf/doc/ctf-spec.texi