From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29372 invoked by alias); 25 Nov 2010 17:40:23 -0000 Received: (qmail 29138 invoked by uid 22791); 25 Nov 2010 17:40:18 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Nov 2010 17:40:13 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 794032F7800D for ; Thu, 25 Nov 2010 17:40:10 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fBUk-ECfZsUe; Thu, 25 Nov 2010 17:40:08 +0000 (GMT) Message-ID: <4CEE9F77.1070509@eCosCentric.com> Date: Thu, 25 Nov 2010 17:40:00 -0000 From: Jonathan Larmour User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.6 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Fix doc index name on Windows Content-Type: multipart/mixed; boundary="------------060800030900060200000100" Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00431.txt.bz2 This is a multi-part message in MIME format. --------------060800030900060200000100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 1181 When cross building GDB 7.2 to Windows I have found that the GDB documentation set generates HTML files named index.html and Index.html. On Windows this unfortunately doesn't work as those names match each other. The former is the front page and ToC, the latter is the genuine Index at the end of the documentation. The simplest solution is just to rename the Index at the end to have a different node name. This is what other GNU documentation sets (GAS, BFD, CPP, etc.) do. So that's what the attached patch (against current CVS) does. I have a copyright assignment and check-in permissions. Okay to commit? 2010-11-25 Jonathan Larmour * gdb.texinfo (Top): Rename Index to GDB Index to prevent clashes on Windows systems. (Help): Likewise. (Index): Likewise. * gdbint.texinfo (Top): Similar but with Index to GDB Internals Index. (GDB Internals Index): Likewise. Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["Si fractum non sit, noli id reficere"]------ Opinions==mine --------------060800030900060200000100 Content-Type: text/plain; name="gdbdocidx.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdbdocidx.patch.txt" Content-length: 2522 Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.776 diff -u -5 -p -r1.776 gdb.texinfo --- gdb.texinfo 23 Nov 2010 14:39:16 -0000 1.776 +++ gdb.texinfo 25 Nov 2010 17:33:49 -0000 @@ -182,11 +182,11 @@ software in general. We will miss him. the operating system * Trace File Format:: GDB trace file format * Copying:: GNU General Public License says how you can copy and share GDB * GNU Free Documentation License:: The license for this documentation -* Index:: Index +* GDB Index:: Index @end menu @end ifnottex @contents @@ -1714,11 +1714,11 @@ inspect In addition to @code{help}, you can use the @value{GDBN} commands @code{info} and @code{show} to inquire about the state of your program, or the state of @value{GDBN} itself. Each command supports many topics of inquiry; this manual introduces each of them in the appropriate context. The listings under @code{info} and under @code{show} in the Index point to -all the sub-commands. @xref{Index}. +all the sub-commands. @xref{GDB Index}. @c @group @table @code @kindex info @kindex i @r{(@code{info})} @@ -36355,12 +36355,12 @@ which @value{GDBN} currently ignores. @node GNU Free Documentation License @appendix GNU Free Documentation License @include fdl.texi -@node Index -@unnumbered Index +@node GDB Index +@unnumbered GDB Index @printindex cp @tex % I think something like @colophon should be in texinfo. In the Index: gdbint.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v retrieving revision 1.327 diff -u -5 -p -r1.327 gdbint.texinfo --- gdbint.texinfo 20 Oct 2010 22:53:36 -0000 1.327 +++ gdbint.texinfo 25 Nov 2010 17:33:50 -0000 @@ -92,11 +92,11 @@ as the mechanisms that adapt @value{GDBN * Testsuite:: * Hints:: * GDB Observers:: @value{GDBN} Currently available observers * GNU Free Documentation License:: The license for this documentation -* Index:: +* GDB Internals Index:: @end menu @node Summary @chapter Summary @@ -8030,11 +8030,11 @@ in the directory the script was called f @node GNU Free Documentation License @appendix GNU Free Documentation License @include fdl.texi -@node Index -@unnumbered Index +@node GDB Internals Index +@unnumbered GDB Internals Index @printindex cp @bye --------------060800030900060200000100--