Document operate-and-get-next
authorTom Tromey <tom@tromey.com>
Sat, 9 Nov 2019 18:38:05 +0000 (11:38 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 11 Nov 2019 23:58:30 +0000 (16:58 -0700)
This adds some documentation for the operate-and-get-next readline
function that gdb supplies.  The text is largely taken from the Bash
manual.

gdb/doc/ChangeLog
2019-11-11  Tom Tromey  <tom@tromey.com>

* gdb.texinfo (Editing): Document operate-and-get-next.

Change-Id: I9adb16d9ce84bfbda5fe8a2828f668ea878c080c

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index dcce6fad5e2436676f93d478989ced1bae741342..3c77d4f8b72a09967944eac4c3dd941c810bfca9 100644 (file)
@@ -1,3 +1,7 @@
+2019-11-11  Tom Tromey  <tom@tromey.com>
+
+       * gdb.texinfo (Editing): Document operate-and-get-next.
+
 2019-11-11  Tom Tromey  <tromey@adacore.com>
 
        * gdb.texinfo (Host I/O Packets): Fix typo in "vFile:pwrite".
index e702b29ee17915bb10f6775029b0a1f4e228b85a..05accca47755afe988b771d5947b58bedb839a20 100644 (file)
@@ -25139,6 +25139,13 @@ encouraged to read that chapter.
 @value{GDBN} sets the Readline application name to @samp{gdb}.  This
 is useful for conditions in @file{.inputrc}.
 
+@cindex operate-and-get-next
+@value{GDBN} defines a bindable Readline command,
+@code{operate-and-get-next}.  This is bound to @kbd{C-o} by default.
+This command accepts the current line for execution and fetches the
+next line relative to the current line from the history for editing.
+Any argument is ignored.
+
 @node Command History
 @section Command History
 @cindex command history
This page took 0.045347 seconds and 4 git commands to generate.