From patchwork Wed Mar 22 12:43:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 19694 Received: (qmail 36989 invoked by alias); 22 Mar 2017 12:43:53 -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 36856 invoked by uid 89); 22 Mar 2017 12:43:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.0 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pg0-f44.google.com Received: from mail-pg0-f44.google.com (HELO mail-pg0-f44.google.com) (74.125.83.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Mar 2017 12:43:50 +0000 Received: by mail-pg0-f44.google.com with SMTP id t143so42360533pgb.2 for ; Wed, 22 Mar 2017 05:43:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=mid2+YtmN5DvMzr6Df4Xb67os2X0z+sNtQ3BOHSmZGI=; b=c2FRA4jyo07rSNXZTqvdEGbPR0/txGnsILHuwqbyuyZuxke0yKb5CIngWhG1OkUyn4 /1WtQpkIK8plZugNxquU/VWeIjLe40Pn/TzV8n0anCmIxDjHghrGEDMXsbi7OYALkOO/ bpJLw4XRn4SdrbxMacmbfm4TUwnyS7wdWQM6X0UW2G9Ze/o1FmkDTqtmuz11OXI2PUPg X9EU+ecS6hpLg75zSuNrxbZ8YYu9vlWPxNA182P3V2pcRPgcEXfkzVs5249+XeXqp6V0 /6rumo7lOWQVNwTG4CyGPKHdNlXZDYa7xuBHkiYz4VDMYjUFeE5n4d3hORRFtNhLfmOe iElQ== X-Gm-Message-State: AFeK/H0Bp4HhDjYEWCrTmmSQQzaz3jZ2ZCVc46bWDA5r/UftfZw1BZI8YTr0ffBzNdu5SA== X-Received: by 10.98.212.81 with SMTP id u17mr46113285pfl.75.1490186629848; Wed, 22 Mar 2017 05:43:49 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc114.osuosl.org. [140.211.9.72]) by smtp.gmail.com with ESMTPSA id a8sm3947009pfa.30.2017.03.22.05.43.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 05:43:49 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] Remove @code for python Date: Wed, 22 Mar 2017 12:43:46 +0000 Message-Id: <1490186626-13186-1-git-send-email-yao.qi@linaro.org> In-Reply-To: <83mvcfx0za.fsf@gnu.org> References: <83mvcfx0za.fsf@gnu.org> X-IsSubscribed: yes There's no reason to use @code for Python the name of a programming language. gdb/doc: 2017-03-22 Yao Qi * python.texi (Inferiors In Python): Remove @code from Python. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/python.texi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 8253cbe..5eb3a6c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2017-03-22 Yao Qi + + * python.texi (Inferiors In Python): Remove @code from Python. + 2017-03-21 Tim Wiederhake * python.texi (Recordings In Python): Document return type of diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 1fb8b25..ce5810e 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2760,7 +2760,7 @@ return an empty tuple. Read @var{length} addressable memory units from the inferior, starting at @var{address}. Returns a buffer object, which behaves much like an array or a string. It can be modified and given to the -@code{Inferior.write_memory} function. In @code{Python} 3, the return +@code{Inferior.write_memory} function. In Python 3, the return value is a @code{memoryview} object. @end defun