aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-11-27 04:14:37 +0000
committerTom Tromey <tromey@redhat.com>2001-11-27 04:14:37 +0000
commit88118b3abf152ba1d5a7a112918cab91674237f5 (patch)
treec9603f2b26ff1408f53aedfb4a413f72b5042f08
parentc2a727faa20681db53f8e5a4aaf3387e568a2538 (diff)
downloadgdb-88118b3abf152ba1d5a7a112918cab91674237f5.zip
gdb-88118b3abf152ba1d5a7a112918cab91674237f5.tar.gz
gdb-88118b3abf152ba1d5a7a112918cab91674237f5.tar.bz2
* gdb.texinfo (Command Syntax): Document C-o binding.
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo7
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index fec4734..f296878 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-26 Tom Tromey <tromey@redhat.com>
+
+ * gdb.texinfo (Command Syntax): Document C-o binding.
+
2001-07-26 Christopher Faylor <cgf@redhat.com>
* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 423d7a9..b798104 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -1204,6 +1204,13 @@ Any text from a @kbd{#} to the end of the line is a comment; it does
nothing. This is useful mainly in command files (@pxref{Command
Files,,Command files}).
+@cindex repeating command sequences
+@kindex C-o @r{(operate-and-get-next)}
+The @kbd{C-o} binding is useful for repeating a complex sequence of
+commands. This command accepts the current line, like @kbd{RET}, and
+then fetches the next line relative to the current line from the history
+for editing.
+
@node Completion
@section Command completion