This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix gdb.texinfo for old makeinfo (again)


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dbfa452355153093d4d6841515f9891c9572113f

commit dbfa452355153093d4d6841515f9891c9572113f
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Mon Jan 15 10:44:12 2018 +0000

    Fix gdb.texinfo for old makeinfo (again)
    
    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.
    
    gdb/doc/ChangeLog:
    
    	* gdb.texinfo (set cwd): Add period.
    	(gdb-add-index man): Move anchor.

Diff:
---
 gdb/doc/ChangeLog   | 5 +++++
 gdb/doc/gdb.texinfo | 7 +++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index fe8aa5a..1228f38 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+	* gdb.texinfo (set cwd): Add period.
+	(gdb-add-index man): Move anchor.
+
 2017-01-12  Tom Tromey  <tom@tromey.com>
 	    Sergio Durigan Junior  <sergiodj@redhat.com>
 
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b6e7a49..75789a2 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2495,7 +2495,7 @@ fallback.
 
 You can also change @value{GDBN}'s current working directory by using
 the @code{cd} command.
-@xref{cd command}
+@xref{cd command}.
 
 @kindex show cwd
 @cindex show inferior's working directory
@@ -2514,7 +2514,7 @@ given, @var{directory} uses @file{'~'}.
 The @value{GDBN} working directory serves as a default for the
 commands that specify files for @value{GDBN} to operate on.
 @xref{Files, ,Commands to Specify Files}.
-@xref{set cwd command}
+@xref{set cwd command}.
 
 @kindex pwd
 @item pwd
@@ -43441,9 +43441,8 @@ Richard M. Stallman and Roland H. Pesch, July 1991.
 @c man end
 
 @node gdb-add-index man
-@pindex gdb-add-index
-@anchor{gdb-add-index}
 @heading gdb-add-index
+@anchor{gdb-add-index}
 
 @c man title gdb-add-index Add index files to speed up GDB


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]