From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8082 invoked by alias); 4 Jul 2011 10:37:39 -0000 Received: (qmail 8059 invoked by uid 22791); 4 Jul 2011 10:37:38 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jul 2011 10:37:21 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QdgWn-0000jL-3M; Mon, 04 Jul 2011 06:37:21 -0400 Date: Mon, 04 Jul 2011 10:50:00 -0000 Message-Id: From: Eli Zaretskii To: Matt Rice CC: pmuldoon@redhat.com, gdb-patches@sourceware.org In-reply-to: (message from Matt Rice on Sun, 3 Jul 2011 23:03:51 -0700) Subject: Re: [patch] [python] find_line_pc_range Reply-to: Eli Zaretskii 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: 2011-07/txt/msg00087.txt.bz2 > Date: Sun, 3 Jul 2011 23:03:51 -0700 > From: Matt Rice > Cc: gdb-patches@sourceware.org > > Thanks, attached is an updated patch that also includes tests. > > 2011-07-03 Matt Rice > > * python/py-symtab.c: Populate sal_object_methods. > (salpy_find_line_pc_range): New function. > > 2011-07-03 Matt Rice > > * gdb.texinfo (Symbol Tables In Python): Add find_line_pc_range method. > > 2011-07-03 Matt Rice > > * gdb.python/py-symtab.exp: New Tests for find_line_pc_range. Thanks. Comments about the documentation part: > +@defmethod Symtab_and_line find_line_pc_range > +If found returns a @code{Tuple} containing the start and end program counter > +addresses for the line attribute. Otherwise returns @code{None}. Sorry, I don't understand what you are trying to say here. "If found" what? And what "line attribute" do you refer to?