]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/python: add subblocks property to gdb.Block
authorJan Vrany <jan.vrany@labware.com>
Tue, 4 Feb 2025 13:56:49 +0000 (13:56 +0000)
committerJan Vrany <jan.vrany@labware.com>
Tue, 4 Feb 2025 13:56:49 +0000 (13:56 +0000)
commit5166ed9c9c6f60859295d932b65c5c5a19984dfd
tree874e1421f9a70922c7d1a66da7bdff26f6ac6233
parent96a02b669eb4e5483bc820cc2cc8acfff8b8ae23
gdb/python: add subblocks property to gdb.Block

This commit adds new propery "subblocks" to gdb.Block objects. This
allows Python to traverse block tree starting with global block.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/NEWS
gdb/doc/python.texi
gdb/python/py-block.c
gdb/testsuite/gdb.python/py-block.exp