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)


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 have to
keep API compatibility, so if the implementation were to change
in GDB, we would have to just manage that change in the Python
bindings (like we currently do now).  There are many abstract
concepts, that can be subject to change already (things like Program
Spaces).

Cheers,

Phil


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