Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [review] Document operate-and-get-next
@ 2019-11-09 18:57 Tom Tromey (Code Review)
  2019-11-09 20:02 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tom Tromey (Code Review) @ 2019-11-09 18:57 UTC (permalink / raw)
  To: gdb-patches

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/602
......................................................................

Document operate-and-get-next

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-09  Tom Tromey  <tom@tromey.com>

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

Change-Id: I9adb16d9ce84bfbda5fe8a2828f668ea878c080c
---
M gdb/doc/ChangeLog
M gdb/doc/gdb.texinfo
2 files changed, 11 insertions(+), 0 deletions(-)



diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ce89ee4..660d41d 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-09  Tom Tromey  <tom@tromey.com>
+
+	* gdb.texinfo (Editing): Document operate-and-get-next.
+
 2019-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* gdb.texinfo (Symbols): Document new 'info module variables' and
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 70e4be1..1af5674 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -25139,6 +25139,13 @@
 @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

-- 
Gerrit-Project: binutils-gdb
Gerrit-Branch: master
Gerrit-Change-Id: I9adb16d9ce84bfbda5fe8a2828f668ea878c080c
Gerrit-Change-Number: 602
Gerrit-PatchSet: 1
Gerrit-Owner: Tom Tromey <tromey@sourceware.org>
Gerrit-MessageType: newchange


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [review] Document operate-and-get-next
  2019-11-09 18:57 [review] Document operate-and-get-next Tom Tromey (Code Review)
@ 2019-11-09 20:02 ` Eli Zaretskii
  2019-11-12  0:00 ` [pushed] " Sourceware to Gerrit sync (Code Review)
  2019-11-12  0:01 ` Sourceware to Gerrit sync (Code Review)
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2019-11-09 20:02 UTC (permalink / raw)
  To: tromey, gdb-patches

> Date: Sat, 9 Nov 2019 13:57:06 -0500
> From: "Tom Tromey (Code Review)" <gerrit@gnutoolchain-gerrit.osci.io>
> 
> Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/602
> ......................................................................
> 
> Document operate-and-get-next
> 
> 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-09  Tom Tromey  <tom@tromey.com>
> 
> 	* gdb.texinfo (Editing): Document operate-and-get-next.

This is OK, thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [pushed] Document operate-and-get-next
  2019-11-09 18:57 [review] Document operate-and-get-next Tom Tromey (Code Review)
  2019-11-09 20:02 ` Eli Zaretskii
@ 2019-11-12  0:00 ` Sourceware to Gerrit sync (Code Review)
  2019-11-12  0:01 ` Sourceware to Gerrit sync (Code Review)
  2 siblings, 0 replies; 4+ messages in thread
From: Sourceware to Gerrit sync (Code Review) @ 2019-11-12  0:00 UTC (permalink / raw)
  To: Tom Tromey, gdb-patches

The original change was created by Tom Tromey.

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/602
......................................................................

Document operate-and-get-next

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
---
M gdb/doc/ChangeLog
M gdb/doc/gdb.texinfo
2 files changed, 11 insertions(+), 0 deletions(-)



diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index dcce6fa..3c77d4f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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".
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e702b29..05accca 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -25139,6 +25139,13 @@
 @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

-- 
Gerrit-Project: binutils-gdb
Gerrit-Branch: master
Gerrit-Change-Id: I9adb16d9ce84bfbda5fe8a2828f668ea878c080c
Gerrit-Change-Number: 602
Gerrit-PatchSet: 2
Gerrit-Owner: Tom Tromey <tromey@sourceware.org>
Gerrit-MessageType: newpatchset


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [pushed] Document operate-and-get-next
  2019-11-09 18:57 [review] Document operate-and-get-next Tom Tromey (Code Review)
  2019-11-09 20:02 ` Eli Zaretskii
  2019-11-12  0:00 ` [pushed] " Sourceware to Gerrit sync (Code Review)
@ 2019-11-12  0:01 ` Sourceware to Gerrit sync (Code Review)
  2 siblings, 0 replies; 4+ messages in thread
From: Sourceware to Gerrit sync (Code Review) @ 2019-11-12  0:01 UTC (permalink / raw)
  To: Tom Tromey, gdb-patches

Sourceware to Gerrit sync has submitted this change.

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/602
......................................................................

Document operate-and-get-next

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
---
M gdb/doc/ChangeLog
M gdb/doc/gdb.texinfo
2 files changed, 11 insertions(+), 0 deletions(-)


diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index dcce6fa..3c77d4f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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".
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e702b29..05accca 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -25139,6 +25139,13 @@
 @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

-- 
Gerrit-Project: binutils-gdb
Gerrit-Branch: master
Gerrit-Change-Id: I9adb16d9ce84bfbda5fe8a2828f668ea878c080c
Gerrit-Change-Number: 602
Gerrit-PatchSet: 2
Gerrit-Owner: Tom Tromey <tromey@sourceware.org>
Gerrit-MessageType: merged


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-12  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-09 18:57 [review] Document operate-and-get-next Tom Tromey (Code Review)
2019-11-09 20:02 ` Eli Zaretskii
2019-11-12  0:00 ` [pushed] " Sourceware to Gerrit sync (Code Review)
2019-11-12  0:01 ` Sourceware to Gerrit sync (Code Review)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox