]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/python: allow instantiation of gdb.Block from Python
authorJan Vrany <jan.vrany@labware.com>
Thu, 21 Nov 2024 12:31:21 +0000 (12:31 +0000)
committerJan Vrany <jan.vrany@labware.com>
Thu, 21 Nov 2024 13:52:21 +0000 (13:52 +0000)
commit3150cb09a4d66e71686899207907f5b491fc39e6
treeb8c8dd13db71a6594ce3438aa931ecc52a1c9d12
parent2034719b46e5311eb95422cdb10ec4c2162bfeff
gdb/python: allow instantiation of gdb.Block from Python

This commit adds code to allow user extension to instantiate
gdb.Block. This is a step towards a Python support for dynamically
generated code (JIT) in GDB.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/python.texi
gdb/python/py-block.c
gdb/testsuite/gdb.python/py-block.exp