From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27189 invoked by alias); 17 Jun 2014 16:41:12 -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 27180 invoked by uid 89); 17 Jun 2014 16:41:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout28.012.net.il Received: from mtaout28.012.net.il (HELO mtaout28.012.net.il) (80.179.55.184) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Jun 2014 16:41:08 +0000 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N7B00900NGM8Y00@mtaout28.012.net.il> for gdb-patches@sourceware.org; Tue, 17 Jun 2014 19:39:29 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7B000OWNLSBQ80@mtaout28.012.net.il>; Tue, 17 Jun 2014 19:39:29 +0300 (IDT) Date: Tue, 17 Jun 2014 16:41:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] add more methods to gdb.Progspace In-reply-to: <1403022790-16464-1-git-send-email-tromey@redhat.com> To: Tom Tromey Cc: gdb-patches@sourceware.org, tromey@redhat.com Reply-to: Eli Zaretskii Message-id: <837g4fv68u.fsf@gnu.org> References: <1403022790-16464-1-git-send-email-tromey@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00620.txt.bz2 > From: Tom Tromey > Cc: Tom Tromey > Date: Tue, 17 Jun 2014 10:33:10 -0600 > > There are a number of global functions in the gdb Python module which > really should be methods on Progspace. This patch adds new methods to > Progspace and then redefines these globals in terms of these new > methods. It also adds an Inferior.progspace attribute so that the > association between inferiors and progspaces is obvious; this lets us > apply the same treatment to current_progspace. > > Built and regtested on x86-64 Fedora 20. > > Needs a doc review. The documentation part is OK. Thanks.