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)


>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:

Siva> The attached patch is a result of discussions here:
Siva>     http://sourceware.org/ml/gdb-patches/2012-04/msg00226.html
Siva> and here:
Siva>     http://sourceware.org/ml/gdb-patches/2012-04/msg00302.html

Thanks.

It looks pretty good, just a little nit.

Siva> +  block = symtab->blockvector->block[GLOBAL_BLOCK];

Siva> +  block = symtab->blockvector->block[STATIC_BLOCK];

These two spots should use the BLOCKVECTOR accessor macro.

Ok with that change.

Tom


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