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)
Siva> + ?block = symtab->blockvector->block[GLOBAL_BLOCK];
Siva> + ?block = symtab->blockvector->block[STATIC_BLOCK];
Tom> These two spots should use the BLOCKVECTOR accessor macro.
Tom> I forgot that we also have blockvector accessors.
Tom> So, could you change these to use BLOCKVECTOR_BLOCK as well?
I have already done this in the updated patch I have sent today:
http://sourceware.org/ml/gdb-patches/2012-04/msg00543.html
Thanks,
Siva Chandra