From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5613 invoked by alias); 2 Apr 2012 17:08:28 -0000 Received: (qmail 5574 invoked by uid 22791); 2 Apr 2012 17:08:25 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Apr 2012 17:08:11 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M1V00K002GYR700@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Mon, 02 Apr 2012 20:08:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.100.223]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M1V00K2W3LKOS70@a-mtaout22.012.net.il>; Mon, 02 Apr 2012 20:08:09 +0300 (IDT) Date: Mon, 02 Apr 2012 17:08:00 -0000 From: Eli Zaretskii Subject: Re: [RFC - Python Scripting] New method Objfile.symtabs () - docs included In-reply-to: To: Siva Chandra Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83sjgmhxj2.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/msg00019.txt.bz2 > Date: Mon, 2 Apr 2012 11:47:31 +0530 > From: Siva Chandra > > Attached is a patch which adds a new method Objfile.symtabs to > gdb.Objfile. This new method returns a list of gdb.Symtab objects > associated with the underlying object file. Thanks. > *** doc/gdb.texinfo 28 Mar 2012 21:31:46 -0000 1.939 > --- doc/gdb.texinfo 2 Apr 2012 06:09:24 -0000 > *************** longer. All other @code{gdb.Objfile} me > *** 23812,23817 **** > --- 23812,23823 ---- > if it is invalid at the time the method is called. > @end defun > > + @defun Objfile.symtabs () > + Returns the list of @code{gdb.Symtab} objects associated with the > + underlying object file referred by the @code{gdb.Objfile} object. ^^^^^^^^^^^ "referred to by ..." > + ** A new method 'symtabs' on gdb.Objfile objects which returns the > + list of gdb.Symtab objects associated with the underlying object > + files. "file", I think, in single. OK with those changes.