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)


>>>>> "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


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