(Editing, History): Add cross-references to the
included Readline and History user documentation. Remove references to the symbol have-readline-appendices which is unused and undefined. (History): Fix indexing.
This commit is contained in:
parent
895ce074f7
commit
703663ab0d
|
@ -1,3 +1,11 @@
|
||||||
|
2004-10-08 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
|
* gdb.texinfo (Editing, History): Add cross-references to the
|
||||||
|
included Readline and History user documentation. Remove
|
||||||
|
references to the symbol have-readline-appendices which is unused
|
||||||
|
and undefined.
|
||||||
|
(History): Fix indexing.
|
||||||
|
|
||||||
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
|
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* gdbint.texinfo (target_stopped_data_address): Update to
|
* gdbint.texinfo (target_stopped_data_address): Update to
|
||||||
|
|
|
@ -13383,7 +13383,7 @@ Prints a line of the form: @samp{Gdb's prompt is: @var{your-prompt}}
|
||||||
@cindex readline
|
@cindex readline
|
||||||
@cindex command line editing
|
@cindex command line editing
|
||||||
|
|
||||||
@value{GDBN} reads its input commands via the @dfn{readline} interface. This
|
@value{GDBN} reads its input commands via the @dfn{Readline} interface. This
|
||||||
@sc{gnu} library provides consistent behavior for programs which provide a
|
@sc{gnu} library provides consistent behavior for programs which provide a
|
||||||
command line interface to the user. Advantages are @sc{gnu} Emacs-style
|
command line interface to the user. Advantages are @sc{gnu} Emacs-style
|
||||||
or @dfn{vi}-style inline editing of commands, @code{csh}-like history
|
or @dfn{vi}-style inline editing of commands, @code{csh}-like history
|
||||||
|
@ -13408,14 +13408,26 @@ Disable command line editing.
|
||||||
Show whether command line editing is enabled.
|
Show whether command line editing is enabled.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@xref{Command Line Editing}, for more details about the Readline
|
||||||
|
interface. Users unfamiliar with @sc{gnu} Emacs or @code{vi} are
|
||||||
|
encouraged to read that chapter.
|
||||||
|
|
||||||
@node History
|
@node History
|
||||||
@section Command history
|
@section Command history
|
||||||
|
@cindex command history
|
||||||
|
|
||||||
@value{GDBN} can keep track of the commands you type during your
|
@value{GDBN} can keep track of the commands you type during your
|
||||||
debugging sessions, so that you can be certain of precisely what
|
debugging sessions, so that you can be certain of precisely what
|
||||||
happened. Use these commands to manage the @value{GDBN} command
|
happened. Use these commands to manage the @value{GDBN} command
|
||||||
history facility.
|
history facility.
|
||||||
|
|
||||||
|
@value{GDBN} uses the @sc{gnu} History library, a part of the Readline
|
||||||
|
package, to provide the history facility. @xref{Using History
|
||||||
|
Interactively}, for the detailed description of the History library.
|
||||||
|
|
||||||
|
Here is the description of @value{GDBN} commands related to command
|
||||||
|
history.
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@cindex history substitution
|
@cindex history substitution
|
||||||
@cindex history file
|
@cindex history file
|
||||||
|
@ -13448,12 +13460,10 @@ This defaults to the value of the environment variable
|
||||||
@code{HISTSIZE}, or to 256 if this variable is not set.
|
@code{HISTSIZE}, or to 256 if this variable is not set.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@cindex history expansion
|
|
||||||
History expansion assigns special meaning to the character @kbd{!}.
|
History expansion assigns special meaning to the character @kbd{!}.
|
||||||
@ifset have-readline-appendices
|
@xref{Event Designators}, for more details.
|
||||||
@xref{Event Designators}.
|
|
||||||
@end ifset
|
|
||||||
|
|
||||||
|
@cindex history expansion, turn on/off
|
||||||
Since @kbd{!} is also the logical not operator in C, history expansion
|
Since @kbd{!} is also the logical not operator in C, history expansion
|
||||||
is off by default. If you decide to enable history expansion with the
|
is off by default. If you decide to enable history expansion with the
|
||||||
@code{set history expansion on} command, you may sometimes need to
|
@code{set history expansion on} command, you may sometimes need to
|
||||||
|
@ -13467,19 +13477,12 @@ The commands to control history expansion are:
|
||||||
@table @code
|
@table @code
|
||||||
@item set history expansion on
|
@item set history expansion on
|
||||||
@itemx set history expansion
|
@itemx set history expansion
|
||||||
@cindex history expansion
|
@kindex set history expansion
|
||||||
Enable history expansion. History expansion is off by default.
|
Enable history expansion. History expansion is off by default.
|
||||||
|
|
||||||
@item set history expansion off
|
@item set history expansion off
|
||||||
Disable history expansion.
|
Disable history expansion.
|
||||||
|
|
||||||
The readline code comes with more complete documentation of
|
|
||||||
editing and history expansion features. Users unfamiliar with @sc{gnu} Emacs
|
|
||||||
or @code{vi} may wish to read it.
|
|
||||||
@ifset have-readline-appendices
|
|
||||||
@xref{Command Line Editing}.
|
|
||||||
@end ifset
|
|
||||||
|
|
||||||
@c @group
|
@c @group
|
||||||
@kindex show history
|
@kindex show history
|
||||||
@item show history
|
@item show history
|
||||||
|
|
Loading…
Reference in New Issue