diff options
author | Tom Tromey <tromey@adacore.com> | 2021-01-27 06:51:21 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-01-27 06:56:27 -0700 |
commit | bb3c2d4d94185aab4323b59973f1de89917be738 (patch) | |
tree | 16b6f625e713df7204f9a3bae8413f2231311f44 /gdb/doc | |
parent | f04ce15e831b691d7610dba284e266919e757b10 (diff) | |
download | gdb-bb3c2d4d94185aab4323b59973f1de89917be738.zip gdb-bb3c2d4d94185aab4323b59973f1de89917be738.tar.gz gdb-bb3c2d4d94185aab4323b59973f1de89917be738.tar.bz2 |
Remove extra space after @pxref in gdb.texinfo
Internally at AdaCore, documentation is still built with Texinfo 4.13.
This version gave an error when building gdb.texinfo:
../../../binutils-gdb/gdb/doc/gdb.texinfo:27672: @pxref expected braces.
../../../binutils-gdb/gdb/doc/gdb.texinfo:27672: ` {dotdebug_gdb_scripts section,,The @cod...' is too long for expansion; not expanded.
... followed by many more spurious errors that were caused by this
one.
This patch fix the problem by removing the extra space.
I don't know whether it's advisable to try to support this ancient
version of Texinfo (released in 2008 apparently); but in this
particular case the fix is trivial, so I'm checking it in.
gdb/doc/ChangeLog
2021-01-27 Tom Tromey <tromey@adacore.com>
* gdb.texinfo (Auto-loading extensions): Remove extraneous space.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 25f4503..2d6517d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2021-01-27 Tom Tromey <tromey@adacore.com> + + * gdb.texinfo (Auto-loading extensions): Remove extraneous space. + 2021-01-25 Marco Barisione <mbarisione@undo.io> * python.texi: Add parentheses to print statements/functions. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e43819f..84243a7 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27669,7 +27669,7 @@ extensions when a new object file is read (for example, due to the library): @file{@var{objfile}-gdb.@var{ext}} (@pxref{objfile-gdbdotext file,,The @file{@var{objfile}-gdb.@var{ext}} file}) and the @code{.debug_gdb_scripts} section of modern file formats like ELF -(@pxref {dotdebug_gdb_scripts section,,The @code{.debug_gdb_scripts} +(@pxref{dotdebug_gdb_scripts section,,The @code{.debug_gdb_scripts} section}). For a discussion of the differences between these two approaches see @ref{Which flavor to choose?}. |