From patchwork Tue Dec 10 22:58:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Simon Marchi (Code Review)" X-Patchwork-Id: 36703 Received: (qmail 105996 invoked by alias); 10 Dec 2019 22:58:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 105983 invoked by uid 89); 10 Dec 2019 22:58:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= 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; Tue, 10 Dec 2019 22:58:09 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 9B37D20266; Tue, 10 Dec 2019 17:58:07 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 48803202E5; Tue, 10 Dec 2019 17:58:06 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 0A4D520AF6; Tue, 10 Dec 2019 17:58:06 -0500 (EST) X-Gerrit-PatchSet: 2 Date: Tue, 10 Dec 2019 17:58:05 -0500 From: "Sourceware to Gerrit sync (Code Review)" To: Tom Tromey , Pedro Alves , gdb-patches@sourceware.org Auto-Submitted: auto-generated X-Gerrit-MessageType: newpatchset Subject: [pushed] Minor fix to gdb.prompt documentation X-Gerrit-Change-Id: I4153928c0d88001244ad410f3943c952a6ebfeb1 X-Gerrit-Change-Number: 693 X-Gerrit-ChangeURL: X-Gerrit-Commit: 77bb17b64958ca8ec088e73752a517c88af7cb20 In-Reply-To: References: Reply-To: noreply@gnutoolchain-gerrit.osci.io, tromey@sourceware.org, palves@redhat.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-79-g83ff7f88f1 Message-Id: <20191210225806.0A4D520AF6@gnutoolchain-gerrit.osci.io> The original change was created by Tom Tromey. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/693 ...................................................................... Minor fix to gdb.prompt documentation I noticed that an example in the gdb.prompt documentation used the wrong kind of quotes -- because it is code, it should use a plain ASCII quotation mark. I also slightly shortened the sample text here, so it would more clearly fit on a single line. gdb/doc/ChangeLog 2019-12-10 Tom Tromey * python.texi (gdb.prompt): Use correct quotes in example. Shorten sample text. Change-Id: I4153928c0d88001244ad410f3943c952a6ebfeb1 --- M gdb/doc/ChangeLog M gdb/doc/python.texi 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9a70de3..57ad682 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-10 Tom Tromey + + * python.texi (gdb.prompt): Use correct quotes in example. + Shorten sample text. + 2019-12-04 Andrew Burgess * doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index ed73bbf..f807fb2 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -5937,13 +5937,12 @@ For example: @smallexample -substitute_prompt (``frame: \f, - print arguments: \p@{print frame-arguments@}'') +substitute_prompt ("frame: \f, args: \p@{print frame-arguments@}") @end smallexample @exdent will return the string: @smallexample -"frame: main, print arguments: scalars" +"frame: main, args: scalars" @end smallexample @end table