From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16114 invoked by alias); 9 Apr 2012 20:47:23 -0000 Received: (qmail 16103 invoked by uid 22791); 9 Apr 2012 20:47:22 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL,TW_BJ X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Apr 2012 20:47:09 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2800300C48D500@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Mon, 09 Apr 2012 23:47:07 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.57.204]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2800391CEH8KH1@a-mtaout21.012.net.il>; Mon, 09 Apr 2012 23:47:06 +0300 (IDT) Date: Mon, 09 Apr 2012 20:47:00 -0000 From: Eli Zaretskii Subject: Re: [RFC - Python Scripting] New method gdb.Symtab.blocks_iterator - docs included In-reply-to: To: Siva Chandra Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83obr07hyf.fsf@gnu.org> References: X-IsSubscribed: yes 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 X-SW-Source: 2012-04/txt/msg00167.txt.bz2 > Date: Tue, 10 Apr 2012 00:04:10 +0530 > From: Siva Chandra > > While the work on Objfile.symtabs (or Objfile.iterator) is pending, I > want to complete the API for the exploratory path Objfile => Symtabs > => Blocks => Symbols. This patch adds the missing link Symtabs => > Blocks. The method Symtab.blocks_iterator returns an iterator to > iterate over the scope blocks of a symtab. The patch is attached Thanks, the documentation parts of this patch are approved.