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> 2012-04-18  Siva Chandra Reddy  <sivachandra@google.com>
Siva>        Add two new methods global_block and static_block to gdb.Symtab
Siva>        objects.
Siva>        * NEWS (Python scripting): Add entry about the new methods.
Siva>        * python/py-symtab.c (stpy_global_block): New function which
Siva>        implements the gdb.Symtab.global_block() method.
Siva>        (stpy_static_block): New function which implements the
Siva>        gdb.Symtab.static_block() method.
Siva>        (symtab_object_methods): Add entries for the two new methods.

Siva> Testsuite:
Siva> 2012-04-18  Siva Chandra Reddy  <sivachandra@google.com>

Siva>        * gdb.python/py-symbol.exp: Add tests to test the new methods
Siva>        gdb.Symtab.global_block() and gdb.Symtab.static_block().
Siva>        * gdb.python/py-symbol.c: Add new struct to help test
Siva>        gdb.Symtab.static_block().

Thanks, these parts are ok.

Tom


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