Re: [committed] Fix gdb.texinfo for old makeinfo (again)

Sergio Durigan Junior
2018-01-15T13:14:49Z

On Monday, January 15 2018, Szabolcs Nagy wrote:

> With old makeinfo (version 4.13) the changes introduced in
>
> commit ba643918cf869fa0d064d733f69b453b6fe642ea
> Author: Sergio Durigan Junior <sergiodj@redhat.com>
>
> Install and generate docs for gdb-add-index
>
> fail to build with
>
> gdb/doc/gdb.texinfo:2498: warning: `.' or `,' must follow @xref, not `@'.
> gdb/doc/gdb.texinfo:2517: warning: `.' or `,' must follow @xref, not `@'.
> gdb/doc/gdb.texinfo:43443: Node `gdb-add-index man' requires a sectioning command (e.g., @unnumberedsubsec).
> gdb/doc/gdb.texinfo:43443: `gdb-add-index man' has no Up field (perhaps incorrect sectioning?).
> gdb/doc/gdb.texinfo:43350: Next field of node `gdbinit man' not pointed to (perhaps incorrect sectioning?).
> gdb/doc/gdb.texinfo:43443: This node (gdb-add-index man) has the bad Prev.
>
> This patch fixes the warnings too.
> Committed as obvious.
>
> gdb/doc/ChangeLog:
> 2018-01-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> * gdb.texinfo (set cwd): Add period.
> (gdb-add-index): Move anchor.

Thanks for catching this. I confess I don't have makeinfo 4.13
installed and didn't think I needed to test generating the docs with it.

--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible