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/NEWS | |
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/NEWS')
-rw-r--r-- | gdb/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,10 @@ ** A new method 'referenced_value' on gdb.Value objects which can dereference pointer as well as C++ reference values. + ** New methods 'global_block' and 'static_block' on gdb.Symtab objects + which return the global and static blocks (as gdb.Block objects), + of the underlying symbol table, respectively. + * Go language support. GDB now supports debugging programs written in the Go programming language. |