From 00595b5e791b2326344340ad568e76c05b3ad402 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 3 Jul 2012 16:22:42 +0000 Subject: [PATCH] gdb.texinfo: Separate the index into 2 indices, cp and fn, to avoid file-name clashes between Index.html and index.html on case-insensitive filesystems. See the discussion starting in http://sourceware.org/ml/gdb-patches/2012-06/msg00457.html for the details of the problem. (Top): Update the master menu for the above. (Concept Index, Command and Variable Index): New nodes, instead of the old "Index" node that was deleted. All cross-references updated. --- gdb/doc/ChangeLog | 12 ++++++++++++ gdb/doc/gdb.texinfo | 30 +++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c6ff8f9..f6367a0 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,15 @@ +2012-07-03 Eli Zaretskii + + * gdb.texinfo: Separate the index into 2 indices, cp and fn, to + avoid file-name clashes between Index.html and index.html on + case-insensitive filesystems. See the discussion starting in + http://sourceware.org/ml/gdb-patches/2012-06/msg00457.html for the + details of the problem. + (Top): Update the master menu for the above. + (Concept Index, Command and Variable Index): New nodes, instead of + the old "Index" node that was deleted. All cross-references + updated. + 2012-07-02 Stan Shebs * gdb.texinfo (Dynamic Printf): Mention agent style and diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d324a93..8efcdc9 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18,13 +18,17 @@ @end iftex @finalout -@syncodeindex ky cp -@syncodeindex tp cp +@c To avoid file-name clashes between index.html and Index.html, when +@c the manual is produced on a Posix host and then moved to a +@c case-insensitive filesystem (e.g., MS-Windows), we separate the +@c indices into two: Concept Index and all the rest. +@syncodeindex ky fn +@syncodeindex tp fn @c readline appendices use @vindex, @findex and @ftable, @c annotate.texi and gdbmi use @findex. -@syncodeindex vr cp -@syncodeindex fn cp +@syncodeindex vr fn +@syncodeindex fn fn @c !!set GDB manual's edition---not the same as GDB version! @c This is updated by GNU Press. @@ -182,7 +186,9 @@ software in general. We will miss him. * Copying:: GNU General Public License says how you can copy and share GDB * GNU Free Documentation License:: The license for this documentation -* Index:: Index +* Concept Index:: Index of @value{GDBN} concepts +* Command and Variable Index:: Index of @value{GDBN} commands, variables, + functions, and Python data types @end menu @end ifnottex @@ -1780,8 +1786,9 @@ 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}. +under @code{info} and under @code{show} in the Command, Variable, and +Function Index point to all the sub-commands. @xref{Command and Variable +Index}. @c @group @table @code @@ -40601,11 +40608,16 @@ switch (die->tag) @appendix GNU Free Documentation License @include fdl.texi -@node Index -@unnumbered Index +@node Concept Index +@unnumbered Concept Index @printindex cp +@node Command and Variable Index +@unnumbered Command, Variable, and Function Index + +@printindex fn + @tex % I think something like @@colophon should be in texinfo. In the % meantime: -- 2.7.4