From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18798 invoked by alias); 9 Nov 2019 18:57:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 18783 invoked by uid 89); 9 Nov 2019 18:57:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=Command, HX-Languages-Length:1898 X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Nov 2019 18:57:09 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 9950820C05; Sat, 9 Nov 2019 13:57:07 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [IPv6:2620:52:3:1:5054:ff:fe06:16ca]) by mx1.osci.io (Postfix) with ESMTP id 65AEF20220 for ; Sat, 9 Nov 2019 13:57:06 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 4290E2816F for ; Sat, 9 Nov 2019 13:57:06 -0500 (EST) X-Gerrit-PatchSet: 1 Date: Sat, 09 Nov 2019 18:57:00 -0000 From: "Tom Tromey (Code Review)" To: gdb-patches@sourceware.org Message-ID: Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange Subject: [review] Document operate-and-get-next X-Gerrit-Change-Id: I9adb16d9ce84bfbda5fe8a2828f668ea878c080c X-Gerrit-Change-Number: 602 X-Gerrit-ChangeURL: X-Gerrit-Commit: 34821e429f15856ce3b6758c277b76b9dc5e9b6e References: Reply-To: tromey@sourceware.org, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/3.0.3-76-gf8b6da0ab5 Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2019-11/txt/msg00257.txt.bz2 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 * 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 + + * gdb.texinfo (Editing): Document operate-and-get-next. + 2019-10-31 Andrew Burgess * 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 Gerrit-MessageType: newchange