diff options
author | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-05-03 07:07:26 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-05-03 07:07:26 +0000 |
commit | a20ee7a4a9d43404d9c566453ba6c9578adc3596 (patch) | |
tree | ad28669e5464e65e747e23099c0c793830d9b9ab /gdb/testsuite/ChangeLog | |
parent | bf2f0858b16a808a504f519e22b8f14aaa76cc10 (diff) | |
download | gdb-a20ee7a4a9d43404d9c566453ba6c9578adc3596.zip gdb-a20ee7a4a9d43404d9c566453ba6c9578adc3596.tar.gz gdb-a20ee7a4a9d43404d9c566453ba6c9578adc3596.tar.bz2 |
2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
Add two new methods global_block and static_block to gdb.Symtab
objects.
* NEWS (Python scripting): Add entry about the new methods.
* python/py-symtab.c (stpy_global_block): New function which
implements the gdb.Symtab.global_block() method.
(stpy_static_block): New function which implements the
gdb.Symtab.static_block() method.
(symtab_object_methods): Add entries for the two new methods.
* testsuite/gdb.python/py-symbol.exp: Add tests to test the new
methods gdb.Symtab.global_block() and gdb.Symtab.static_block().
* tessuite/gdb.python/py-symbol.c: Add new struct to help test
gdb.Symtab.static_block().
* doc/gdb.texinfo (Symbol Tables In Python): Add documentation
about the new methods global_block and static_block on
gdb.Symtab objects.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 568b00e..c89e6b9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-05-03 Siva Chandra Reddy <sivachandra@google.com> + + * gdb.python/py-symbol.exp: Add tests to test the new methods + gdb.Symtab.global_block() and gdb.Symtab.static_block(). + * gdb.python/py-symbol.c: Add new struct to help test + gdb.Symtab.static_block(). + 2012-05-03 Doug Evans <dje@google.com> * gdb.dwarf2/pr13961.S: Add file and source location, but leave |