diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-01-15 12:58:08 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-01-15 12:58:09 -0500 |
commit | c12081a66b4abe34d2c858c78d4028606a082579 (patch) | |
tree | 4e58a1f3a2f7848805873b2d7a5fc7a50e384ca9 /config.rpath | |
parent | 8dc3273e0c50b607ee97873ae745cbc0d3ec6d7f (diff) | |
download | gdb-c12081a66b4abe34d2c858c78d4028606a082579.zip gdb-c12081a66b4abe34d2c858c78d4028606a082579.tar.gz gdb-c12081a66b4abe34d2c858c78d4028606a082579.tar.bz2 |
texi2pod.pl: import support for @t{...} from gcc
GDB's man page source (in gdb.texinfo) contains:
@t{++}
The @t{...} part is supposed to display the wrapped text with a
fixed-width font. The texi2pod.pl script currently doesn't handle
@t{...}, so it appears as-is in the man page:
You can use GDB to debug programs written in C, C@t{++}, Fortran and Modula-2.
gcc's version of texi2pod.pl (at contrib/texi2pod.pl in gcc's repo)
replaces @t{...} with the wrapped text as-is, which I think is an
acceptable behavior. The fixed-width font distinction is not really
important for a man page, where the text will be displayed with whatever
font the user is using.
Import the line that does that from gcc's version.
I have verified that there is no other, unwanted change in man pages
generated in binutils' and GDB's doc, with this patch applied.
etc/ChangeLog:
* texi2pod.pl: Handle @t{...} tags.
Diffstat (limited to 'config.rpath')
0 files changed, 0 insertions, 0 deletions