[RFC - Python scripting] New methods Symtab.global_block and Symtab.static_block (docs included)

Tom Tromey tromey@redhat.com
Tue Apr 17 17:37:00 GMT 2012


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



More information about the Gdb-patches mailing list