From patchwork Wed Nov 20 23:09:32 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: 36076 Received: (qmail 110927 invoked by alias); 20 Nov 2019 23:09:37 -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 110915 invoked by uid 89); 20 Nov 2019 23:09:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.5 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; Wed, 20 Nov 2019 23:09:36 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 9A83820413; Wed, 20 Nov 2019 18:09:34 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 313082020A for ; Wed, 20 Nov 2019 18:09:32 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 1780E2816F for ; Wed, 20 Nov 2019 18:09:32 -0500 (EST) X-Gerrit-PatchSet: 1 Date: Wed, 20 Nov 2019 18:09:32 -0500 From: "Tom Tromey (Code Review)" To: gdb-patches@sourceware.org Message-ID: Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange Subject: [review] Minor fix to gdb.prompt documentation X-Gerrit-Change-Id: I4153928c0d88001244ad410f3943c952a6ebfeb1 X-Gerrit-Change-Number: 693 X-Gerrit-ChangeURL: X-Gerrit-Commit: 3786a06793860cdfc06bcdb87a32c23d5a91cf27 References: Reply-To: tromey@sourceware.org, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-79-g83ff7f88f1 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-11-20 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 2571839..c7eb50c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2019-11-20 Tom Tromey + + * python.texi (gdb.prompt): Use correct quotes in example. + Shorten sample text. + 2019-11-14 Tom de Vries * gdb.texinfo: Fix typos. 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