From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26446 invoked by alias); 23 Apr 2012 13:55:18 -0000 Received: (qmail 26342 invoked by uid 22791); 23 Apr 2012 13:55:17 -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,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL 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, 23 Apr 2012 13:55:03 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2X00M00QK2M200@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Mon, 23 Apr 2012 16:54:57 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.249.186]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2X00MTEQNJDX80@a-mtaout21.012.net.il>; Mon, 23 Apr 2012 16:54:56 +0300 (IDT) Date: Mon, 23 Apr 2012 14:11:00 -0000 From: Eli Zaretskii Subject: Re: [RFC - Python scripting] New methods Symtab.global_block and Symtab.static_block (docs included) In-reply-to: <4F95595A.8080106@redhat.com> To: Phil Muldoon Cc: tromey@redhat.com, sivachandra@google.com, dje@google.com, ratmice@gmail.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y5pmft8k.fsf@gnu.org> References: <831unms3jy.fsf@gnu.org> <4F8F187D.3050402@redhat.com> <878vhsojgd.fsf@fleche.redhat.com> <87sjfyi5rj.fsf@fleche.redhat.com> <87lilmh9jf.fsf@fleche.redhat.com> <4F95595A.8080106@redhat.com> 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/msg00744.txt.bz2 > Date: Mon, 23 Apr 2012 14:30:02 +0100 > From: Phil Muldoon > CC: Siva Chandra , Doug Evans , > Matt Rice , Eli Zaretskii , > gdb-patches@sourceware.org > > On 04/23/2012 02:17 PM, Tom Tromey wrote: > >>>>>> "Siva" == Siva Chandra writes: > > > > Siva> Overall, wrt this patch, what should we conclude? > > > > I think the patch is fine, and we're just discussing what exactly the > > manual should say. > > My view is that we should not say anything, that it will just be > confusing to the user. There is no user facing concept of a "static" > or "global" block in GDB other than the Python API anyway. We cannot have 2 separate APIs, one called Symtab.global_block, the other Symtab.static_block, without saying at least _something_ about what these names are about. Also, the Python API to GDB _is_ user-level. Apologies if I am missing the context of what you said.