From patchwork Tue Jun 3 17:57:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 1273 Received: (qmail 21193 invoked by alias); 3 Jun 2014 17:57:26 -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 21182 invoked by uid 89); 3 Jun 2014 17:57:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 03 Jun 2014 17:57:24 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A43F11161DE; Tue, 3 Jun 2014 13:57:22 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dl3-SHUjlswZ; Tue, 3 Jun 2014 13:57:22 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 704C71161DD; Tue, 3 Jun 2014 13:57:22 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 90CB740EB3; Tue, 3 Jun 2014 10:57:23 -0700 (PDT) Date: Tue, 3 Jun 2014 10:57:23 -0700 From: Joel Brobecker To: Siva Chandra Cc: gdb-patches Subject: Re: [PATCH 1/4 v1] Add xmethod documentation and NEWS entry Message-ID: <20140603175723.GA16336@adacore.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Hello! > 2014-05-06 Siva Chandra Reddy > doc/ > * python.texi (Xmethods In Python, XMethod API) > (Writing an Xmethod): New nodes. > (Python API): New menu entries "Xmethods In Python", > "Xmethod API", "Writing an Xmethod". [...] > +@defun register_xmethod_matcher(locus, matcher, replace=False) > +The @code{matcher} is registered with @code{locus}, replacing an > +existing matcher with the same name as @code{matcher} if > +@code{replace} is @code{True}. @code{locus} can be a > +@code{gdb.Objfile} object (@pxref{Objfiles In Python}), or a > +@code{gdb.Progspace} object (@pxref{Program Spaces In Python}), or ^^^^^^^^^^^^^^^^^^^^^^^^ This reference was incorrect and caused the documentation build to fail. I fixed it by pushing the attached commit. gdb/doc/ChangeLog: * python.texi (Xmethod API): Fix reference to "Progspaces In Python". Tested by rebuilding all documentation formats. From 1e47491b33aac7447697c3cdeff0bbdbba5d58a0 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 3 Jun 2014 10:39:03 -0700 Subject: [PATCH] gdb/doc/python.texi: Fix reference to "Progspaces In Python". A recent change broke the documentation build due to a think-o in a reference. Fixed thusly. gdb/doc/ChangeLog: * python.texi (Xmethod API): Fix reference to "Progspaces In Python". Tested by rebuilding all documentation formats. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/python.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 16a60f3..237c9a4 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2014-06-03 Joel Brobecker + + * python.texi (Xmethod API): Fix reference to "Progspaces In + Python". + 2014-06-03 Siva Chandra Reddy * python.texi (Xmethods In Python, XMethod API) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 1ba248b..2f1b71f 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2322,7 +2322,7 @@ The @code{matcher} is registered with @code{locus}, replacing an existing matcher with the same name as @code{matcher} if @code{replace} is @code{True}. @code{locus} can be a @code{gdb.Objfile} object (@pxref{Objfiles In Python}), or a -@code{gdb.Progspace} object (@pxref{Program Spaces In Python}), or +@code{gdb.Progspace} object (@pxref{Progspaces In Python}), or @code{None}. If it is @code{None}, then @code{matcher} is registered globally. @end defun -- 1.9.1