eb9d945
2007-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
eb9d945
eb9d945
	Port to GDB-6.7.
eb9d945
eb9d945
Index: gdb-6.7/gdb/doc/Makefile.in
eb9d945
===================================================================
eb9d945
--- gdb-6.7.orig/gdb/doc/Makefile.in	2007-07-26 12:34:00.000000000 +0200
eb9d945
+++ gdb-6.7/gdb/doc/Makefile.in	2007-10-16 16:31:08.000000000 +0200
eb9d945
@@ -109,9 +109,7 @@ DVIPS = dvips
a0b6775
 GDB_DOC_SOURCE_INCLUDES = \
a0b6775
 	$(srcdir)/fdl.texi \
a0b6775
 	$(srcdir)/gpl.texi \
a0b6775
-	$(srcdir)/agentexpr.texi \
a0b6775
-	$(READLINE_DIR)/rluser.texi \
a0b6775
-	$(READLINE_DIR)/inc-hist.texinfo
a0b6775
+	$(srcdir)/agentexpr.texi
a0b6775
 GDB_DOC_BUILD_INCLUDES = \
a0b6775
 	gdb-cfg.texi \
a0b6775
 	GDBvn.texi
eb9d945
Index: gdb-6.7/gdb/doc/gdb.texinfo
eb9d945
===================================================================
eb9d945
--- gdb-6.7.orig/gdb/doc/gdb.texinfo	2007-10-16 16:19:19.000000000 +0200
eb9d945
+++ gdb-6.7/gdb/doc/gdb.texinfo	2007-10-16 16:32:10.000000000 +0200
eb9d945
@@ -158,8 +158,8 @@ software in general.  We will miss him.
a0b6775
 
a0b6775
 * GDB Bugs::                    Reporting bugs in @value{GDBN}
a0b6775
 
a0b6775
-* Command Line Editing::        Command Line Editing
a0b6775
-* Using History Interactively:: Using History Interactively
a0b6775
+* Command Line Editing: (rluserman).       Command Line Editing
a0b6775
+* Using History Interactively: (history).  Using History Interactively
eb9d945
 * Formatting Documentation::    How to format and print @value{GDBN} documentation
a0b6775
 * Installing GDB::              Installing GDB
a0b6775
 * Maintenance Commands::        Maintenance Commands
eb9d945
@@ -15533,7 +15533,7 @@ Disable command line editing.
a0b6775
 Show whether command line editing is enabled.
a0b6775
 @end table
a0b6775
 
a0b6775
-@xref{Command Line Editing}, for more details about the Readline
a0b6775
+@xref{Command Line Editing, , , rluserman, GNU Readline Library}, for more details about the Readline
a0b6775
 interface.  Users unfamiliar with @sc{gnu} Emacs or @code{vi} are
a0b6775
 encouraged to read that chapter.
a0b6775
 
eb9d945
@@ -15548,7 +15548,8 @@ history facility.
a0b6775
 
a0b6775
 @value{GDBN} uses the @sc{gnu} History library, a part of the Readline
a0b6775
 package, to provide the history facility.  @xref{Using History
a0b6775
-Interactively}, for the detailed description of the History library.
a0b6775
+Interactively, , , history, GNU History Library}, for the detailed description
a0b6775
+of the History library.
a0b6775
 
a0b6775
 To issue a command to @value{GDBN} without affecting certain aspects of
eb9d945
 the state which is seen by users, prefix it with @samp{server }
eb9d945
@@ -15600,7 +15601,7 @@ This defaults to the value of the enviro
a0b6775
 @end table
a0b6775
 
a0b6775
 History expansion assigns special meaning to the character @kbd{!}.
a0b6775
-@xref{Event Designators}, for more details.
a0b6775
+@xref{Event Designators, , , history, GNU History Library}, for more details.
a0b6775
 
a0b6775
 @cindex history expansion, turn on/off
a0b6775
 Since @kbd{!} is also the logical not operator in C, history expansion
eb9d945
@@ -16660,7 +16661,8 @@ Indicates the current program counter ad
a0b6775
 @cindex TUI key bindings
a0b6775
 
a0b6775
 The TUI installs several key bindings in the readline keymaps
eb9d945
-(@pxref{Command Line Editing}).  The following key bindings
a0b6775
+(@pxref{Command Line Editing, , , rluserman, GNU Readline Library}).
eb9d945
+The following key bindings
eb9d945
 are installed for both TUI mode and the @value{GDBN} standard mode.
eb9d945
 
eb9d945
 @table @kbd
eb9d945
@@ -21937,15 +21939,6 @@ Such guesses are usually wrong.  Even we
a0b6775
 things without first using the debugger to find the facts.
a0b6775
 @end itemize
a0b6775
 
a0b6775
-@c The readline documentation is distributed with the readline code
a0b6775
-@c and consists of the two following files:
a0b6775
-@c     rluser.texinfo
a0b6775
-@c     inc-hist.texinfo
a0b6775
-@c Use -I with makeinfo to point to the appropriate directory,
a0b6775
-@c environment var TEXINPUTS with TeX.
a0b6775
-@include rluser.texi
a0b6775
-@include inc-hist.texinfo
a0b6775
-
a0b6775
 
a0b6775
 @node Formatting Documentation
a0b6775
 @appendix Formatting Documentation
eb9d945
@@ -22115,9 +22108,6 @@ source for the @samp{-liberty} free soft
a0b6775
 @item gdb-@value{GDBVN}/opcodes
a0b6775
 source for the library of opcode tables and disassemblers
a0b6775
 
a0b6775
-@item gdb-@value{GDBVN}/readline
a0b6775
-source for the @sc{gnu} command-line interface
a0b6775
-
a0b6775
 @item gdb-@value{GDBVN}/glob
a0b6775
 source for the @sc{gnu} filename pattern-matching subroutine
a0b6775
 
eb9d945
@@ -22149,7 +22139,7 @@ where @var{host} is an identifier such a
a0b6775
 correct value by examining your system.)
a0b6775
 
a0b6775
 Running @samp{configure @var{host}} and then running @code{make} builds the
a0b6775
-@file{bfd}, @file{readline}, @file{mmalloc}, and @file{libiberty}
a0b6775
+@file{bfd}, @file{mmalloc}, and @file{libiberty}
a0b6775
 libraries, then @code{gdb} itself.  The configured source files, and the
a0b6775
 binaries, are left in the corresponding source directories.
a0b6775
 
eb9d945
@@ -22175,7 +22165,7 @@ source tree, the @file{gdb-@var{version-
a0b6775
 that subdirectory.  That is usually not what you want.  In particular,
eb9d945
 if you run the first @file{configure} from the @file{gdb} subdirectory
a0b6775
 of the @file{gdb-@var{version-number}} directory, you will omit the
a0b6775
-configuration of @file{bfd}, @file{readline}, and other sibling
a0b6775
+configuration of @file{bfd}, and other sibling
a0b6775
 directories of the @file{gdb} subdirectory.  This leads to build errors
a0b6775
 about missing include files such as @file{bfd/bfd.h}.
a0b6775