From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7926 invoked by alias); 11 Jun 2012 09:17:02 -0000 Received: (qmail 7917 invoked by uid 22791); 11 Jun 2012 09:17:01 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-qa0-f41.google.com (HELO mail-qa0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jun 2012 09:16:48 +0000 Received: by qabg27 with SMTP id g27so2077677qab.0 for ; Mon, 11 Jun 2012 02:16:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-system-of-record :x-gm-message-state; bh=mQQDLAYKhy6Yxyr9D61BqHkh1KJsIylTM9OEwphzkZo=; b=pjl6POt4f6Pj8eszrSuKe7DeAyVFyZhUf+qoEHdykZRxkLVreW39jiwDSP4439JX9J eAStd0BrNTcIppngOUcZLkWt56LwCjXNrIGM+WX473YTj6O6BgCQGtSsocLfmq2gTe5/ lslHhT3Ip7+jmq5swx8o3I6M/U87x4I8qVAgvADy4Bd/tHNZZORMrgcyyK7TpLuHTguV bZ5DY8SyvdRfdRWatJwiNsRo14SNAL/gztoWafDfJQ/Nnei39VOu6R7PALUgkaMJ7LmB 6ETUXJ/qprd9ipIyPm5v22iOHxKD2bb1ZbKg7oQqOKTKjpqZTYgZqlCo34WzJvNf63gE gCgQ== Received: by 10.224.42.133 with SMTP id s5mr12162247qae.5.1339406207975; Mon, 11 Jun 2012 02:16:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.42.133 with SMTP id s5mr12162244qae.5.1339406207851; Mon, 11 Jun 2012 02:16:47 -0700 (PDT) Received: by 10.224.63.209 with HTTP; Mon, 11 Jun 2012 02:16:47 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Jun 2012 09:17:00 -0000 Message-ID: Subject: Re: [RFC - Python Scripting] Add 'end' attribute to gdb.Symtab_and_line From: Siva Chandra To: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-Gm-Message-State: ALoCoQmlxbxJL8ZnahdFUQILEW7sUAvQnL5W4L1L6eM/vtNle38phE+R2OhfS4DPFGsa5qEao77SG8YMoiWZDqAYky3kQBYdH+eP61xs/HQQIHv7l5i/pjMEWL7BteswBvd1pldCYIiFnj6c1s5uWRlWyQyqLxSJpA== 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-06/txt/msg00274.txt.bz2 I ping again. Is it a good idea to expose the 'end' attribute in the Python API at all? > 2012-05-21 =A0Siva Chandra Reddy =A0 > > =A0 =A0 =A0 =A0New attribute 'end' for gdb.Symtab_and_line. > =A0 =A0 =A0 =A0* NEWS (Python Scripting): Add entry about the new attribu= te. > =A0 =A0 =A0 =A0* python/py-symtab.c (salpy_get_end): New function which > =A0 =A0 =A0 =A0implements the get method for the 'end' attribute of > =A0 =A0 =A0 =A0gdb.Symtab_and_line. > =A0 =A0 =A0 =A0(sal_object_getset): Add entry for the 'end' attribute. > > =A0 =A0 =A0 =A0doc/ > =A0 =A0 =A0 =A0* gdb.texinfo (Symbol Tables In Python): Add description a= bout > =A0 =A0 =A0 =A0the new 'end' attribute of gdb.Symtab_and line. > > =A0 =A0 =A0 =A0testsuite/ > =A0 =A0 =A0 =A0* gdb.python/py-symtab.exp: Add tests to test the new attr= ibute > =A0 =A0 =A0 =A0'end' of gdb.Symtab_and_line. > =A0 =A0 =A0 =A0* gdb.python/py-symbol.c: Move break point comment to enab= le > =A0 =A0 =A0 =A0testing of gdb.Symtab_and_line.end. > > Thanks, > Siva Chandra