]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/doc] Escape the '@' symbols in generated texinfo files.
authorCiaran Woodward <ciaranwoodward@xmos.com>
Mon, 4 Dec 2023 18:49:26 +0000 (18:49 +0000)
committerCiaran Woodward <ciaranwoodward@xmos.com>
Mon, 4 Dec 2023 18:49:26 +0000 (18:49 +0000)
commit850f4ee54658152b3f4ce60e2ef1855950c8bcbc
tree5136b8aadb56fcf8a8ba33a2b2c3d97a720a3c13
parente0a874120a21bd460bd922c337f4869f72751dcf
[gdb/doc] Escape the '@' symbols in generated texinfo files.

'@' is a special symbol meaning 'command' in GNU texinfo.

If the GDBINIT or GDBINIT_DIR path during configuration
included an '@' character, the makeinfo command would fail,
as it interpreted the '@' in the path as a start of a command
when expanding the path in the docs.

This patch simply escapes any '@' characters in the path,
by replacing them with '@@'. This was already done for the
bugurl variable.

This was detected because the 'Jenkins' tool sometimes puts
an '@' in the workspace path.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/doc/Makefile.in