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 method gdb.Symtab.blocks_iterator - docs included


Tom> I think it would be a bit more future-proof to just let the user access
Tom> the symtab's global and static blocks, then rely on iteration over
Tom> symbols within a block. ?This would mean also adding a way to fetch a
Tom> block's subblocks.

To begin with then, can I remove the idea of this iterator (and the
blocks method) and add two methods global_block and static_block?

Thanks,
Siva Chandra


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