]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-6.6-readline-system.patch
- NOTE: does not build with -j2
[packages/gdb.git] / gdb-6.6-readline-system.patch
1 2007-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         Port to GDB-6.7.
4
5 Index: gdb-6.7/gdb/doc/Makefile.in
6 ===================================================================
7 --- gdb-6.7.orig/gdb/doc/Makefile.in    2007-07-26 12:34:00.000000000 +0200
8 +++ gdb-6.7/gdb/doc/Makefile.in 2007-10-16 16:31:08.000000000 +0200
9 @@ -109,9 +109,7 @@ DVIPS = dvips
10  GDB_DOC_SOURCE_INCLUDES = \
11         $(srcdir)/fdl.texi \
12         $(srcdir)/gpl.texi \
13 -       $(srcdir)/agentexpr.texi \
14 -       $(READLINE_DIR)/rluser.texi \
15 -       $(READLINE_DIR)/inc-hist.texinfo
16 +       $(srcdir)/agentexpr.texi
17  GDB_DOC_BUILD_INCLUDES = \
18         gdb-cfg.texi \
19         GDBvn.texi
20 Index: gdb-6.7/gdb/doc/gdb.texinfo
21 ===================================================================
22 --- gdb-6.7.orig/gdb/doc/gdb.texinfo    2007-10-16 16:19:19.000000000 +0200
23 +++ gdb-6.7/gdb/doc/gdb.texinfo 2007-10-16 16:32:10.000000000 +0200
24 @@ -158,8 +158,8 @@ software in general.  We will miss him.
25  
26  * GDB Bugs::                    Reporting bugs in @value{GDBN}
27  
28 -* Command Line Editing::        Command Line Editing
29 -* Using History Interactively:: Using History Interactively
30 +* Command Line Editing: (rluserman).       Command Line Editing
31 +* Using History Interactively: (history).  Using History Interactively
32  * Formatting Documentation::    How to format and print @value{GDBN} documentation
33  * Installing GDB::              Installing GDB
34  * Maintenance Commands::        Maintenance Commands
35 @@ -15533,7 +15533,7 @@ Disable command line editing.
36  Show whether command line editing is enabled.
37  @end table
38  
39 -@xref{Command Line Editing}, for more details about the Readline
40 +@xref{Command Line Editing, , , rluserman, GNU Readline Library}, for more details about the Readline
41  interface.  Users unfamiliar with @sc{gnu} Emacs or @code{vi} are
42  encouraged to read that chapter.
43  
44 @@ -15548,7 +15548,8 @@ history facility.
45  
46  @value{GDBN} uses the @sc{gnu} History library, a part of the Readline
47  package, to provide the history facility.  @xref{Using History
48 -Interactively}, for the detailed description of the History library.
49 +Interactively, , , history, GNU History Library}, for the detailed description
50 +of the History library.
51  
52  To issue a command to @value{GDBN} without affecting certain aspects of
53  the state which is seen by users, prefix it with @samp{server }
54 @@ -15600,7 +15601,7 @@ This defaults to the value of the enviro
55  @end table
56  
57  History expansion assigns special meaning to the character @kbd{!}.
58 -@xref{Event Designators}, for more details.
59 +@xref{Event Designators, , , history, GNU History Library}, for more details.
60  
61  @cindex history expansion, turn on/off
62  Since @kbd{!} is also the logical not operator in C, history expansion
63 @@ -16660,7 +16661,8 @@ Indicates the current program counter ad
64  @cindex TUI key bindings
65  
66  The TUI installs several key bindings in the readline keymaps
67 -(@pxref{Command Line Editing}).  The following key bindings
68 +(@pxref{Command Line Editing, , , rluserman, GNU Readline Library}).
69 +The following key bindings
70  are installed for both TUI mode and the @value{GDBN} standard mode.
71  
72  @table @kbd
73 @@ -21937,15 +21939,6 @@ Such guesses are usually wrong.  Even we
74  things without first using the debugger to find the facts.
75  @end itemize
76  
77 -@c The readline documentation is distributed with the readline code
78 -@c and consists of the two following files:
79 -@c     rluser.texinfo
80 -@c     inc-hist.texinfo
81 -@c Use -I with makeinfo to point to the appropriate directory,
82 -@c environment var TEXINPUTS with TeX.
83 -@include rluser.texi
84 -@include inc-hist.texinfo
85 -
86  
87  @node Formatting Documentation
88  @appendix Formatting Documentation
89 @@ -22115,9 +22108,6 @@ source for the @samp{-liberty} free soft
90  @item gdb-@value{GDBVN}/opcodes
91  source for the library of opcode tables and disassemblers
92  
93 -@item gdb-@value{GDBVN}/readline
94 -source for the @sc{gnu} command-line interface
95 -
96  @item gdb-@value{GDBVN}/glob
97  source for the @sc{gnu} filename pattern-matching subroutine
98  
99 @@ -22149,7 +22139,7 @@ where @var{host} is an identifier such a
100  correct value by examining your system.)
101  
102  Running @samp{configure @var{host}} and then running @code{make} builds the
103 -@file{bfd}, @file{readline}, @file{mmalloc}, and @file{libiberty}
104 +@file{bfd}, @file{mmalloc}, and @file{libiberty}
105  libraries, then @code{gdb} itself.  The configured source files, and the
106  binaries, are left in the corresponding source directories.
107  
108 @@ -22175,7 +22165,7 @@ source tree, the @file{gdb-@var{version-
109  that subdirectory.  That is usually not what you want.  In particular,
110  if you run the first @file{configure} from the @file{gdb} subdirectory
111  of the @file{gdb-@var{version-number}} directory, you will omit the
112 -configuration of @file{bfd}, @file{readline}, and other sibling
113 +configuration of @file{bfd}, and other sibling
114  directories of the @file{gdb} subdirectory.  This leads to build errors
115  about missing include files such as @file{bfd/bfd.h}.
116  
This page took 0.481009 seconds and 3 git commands to generate.