Ticket #2520: 0004-Bugfix-gdb-7.3.1-couldn-t-be-build-with-a-modern-tex.patch

File 0004-Bugfix-gdb-7.3.1-couldn-t-be-build-with-a-modern-tex.patch, 2.7 KB (added by Goetz Pfeiffer, on Jan 12, 2016 at 9:35:43 AM)

Fix gdb-7.3.1 incompatibility with texinfo 6.0

  • new file tools/4.10/gdb/gdb-7.3.1-rtems4.10-20151123.diff

    From 4722bad1afae577c1c93112571bf592777d84285 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?G=C3=B6tz=20Pfeiffer?= <pfeiffer@elbe.acc.bessy.de>
    Date: Thu, 7 Jan 2016 15:14:29 +0100
    Subject: [PATCH 4/4] Bugfix: gdb-7.3.1 couldn't be build with a modern texinfo
     package.
    
    The texinfo documentation of binutils contained some constructs that are
    errors, at least for a modern version of texinfo (version 6.0 and newer). This
    meant that gdb-7.3.1 couldn't be build e.g. on fedora-22.
    
    A patch file was added to fix the problematic parts of the documentation.
    ---
     tools/4.10/gdb/gdb-7.3.1-rtems4.10-20151123.diff | 49 ++++++++++++++++++++++++
     1 file changed, 49 insertions(+)
     create mode 100644 tools/4.10/gdb/gdb-7.3.1-rtems4.10-20151123.diff
    
    diff --git a/tools/4.10/gdb/gdb-7.3.1-rtems4.10-20151123.diff b/tools/4.10/gdb/gdb-7.3.1-rtems4.10-20151123.diff
    new file mode 100644
    index 0000000..d663fde
    - +  
     1--- gdb-7.3.1-orig/gdb/doc/gdb.texinfo  2011-09-04 19:10:37.000000000 +0200
     2+++ gdb-7.3.1/gdb/doc/gdb.texinfo       2015-11-17 10:21:29.671415980 +0100
     3@@ -4792,7 +4792,7 @@
     4 
     5 
     6 @kindex advance @var{location}
     7-@itemx advance @var{location}
     8+@item advance @var{location}
     9 Continue running the program up to the given @var{location}.  An argument is
     10 required, which should be of one of the forms described in
     11 @ref{Specify Location}.
     12@@ -5582,7 +5582,7 @@
     13 @kindex set exec-direction
     14 @item set exec-direction
     15 Set the direction of target execution.
     16-@itemx set exec-direction reverse
     17+@item set exec-direction reverse
     18 @cindex execute forward or backward in time
     19 @value{GDBN} will perform all execution commands in reverse, until the
     20 exec-direction mode is changed to ``forward''.  Affected commands include
     21@@ -36954,7 +36954,7 @@
     22 @printindex cp
     23 
     24 @tex
     25-% I think something like @colophon should be in texinfo.  In the
     26+% I think something like @@colophon should be in texinfo.  In the
     27 % meantime:
     28 \long\def\colophon{\hbox to0pt{}\vfill
     29 \centerline{The body of this manual is set in}
     30@@ -36966,7 +36966,7 @@
     31 \centerline{{\sl\fontname\tensl\/}}
     32 \centerline{are used for emphasis.}\vfill}
     33 \page\colophon
     34-% Blame: doc@cygnus.com, 1991.
     35+% Blame: doc@@cygnus.com, 1991.
     36 @end tex
     37 
     38 @bye
     39--- gdb-7.3.1-orig/gdb/doc/gdbint.texinfo       2011-02-04 20:10:12.000000000 +0100
     40+++ gdb-7.3.1/gdb/doc/gdbint.texinfo    2015-11-17 11:38:55.061697037 +0100
     41@@ -35,7 +35,7 @@
     42 
     43 @titlepage
     44 @title @value{GDBN} Internals
     45-@subtitle{A guide to the internals of the GNU debugger}
     46+@subtitle A guide to the internals of the GNU debugger
     47 @author John Gilmore
     48 @author Cygnus Solutions
     49 @author Second Edition: