This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC - Python scripting] New methods Symtab.global_block and Symtab.static_block (docs included)


> Date: Mon, 23 Apr 2012 14:30:02 +0100
> From: Phil Muldoon <pmuldoon@redhat.com>
> CC: Siva Chandra <sivachandra@google.com>, Doug Evans <dje@google.com>,
>         Matt Rice <ratmice@gmail.com>, Eli Zaretskii <eliz@gnu.org>,
>         gdb-patches@sourceware.org
> 
> On 04/23/2012 02:17 PM, Tom Tromey wrote:
> >>>>>> "Siva" == Siva Chandra <sivachandra@google.com> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]