This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC - Python scripting] New methods Symtab.global_block and Symtab.static_block (docs included)
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Siva> + block = symtab->blockvector->block[GLOBAL_BLOCK];
Siva> + block = symtab->blockvector->block[STATIC_BLOCK];
Tom> These two spots should use the BLOCKVECTOR accessor macro.
I forgot that we also have blockvector accessors.
So, could you change these to use BLOCKVECTOR_BLOCK as well?
Thanks.
Tom