diff options
author | Jan Vrany <jan.vrany@labware.com> | 2025-03-19 21:12:53 +0000 |
---|---|---|
committer | Jan Vrany <jan.vrany@labware.com> | 2025-03-19 21:12:53 +0000 |
commit | a691853148fae5ce4345b14b5ae8f2e90d147f37 (patch) | |
tree | dddb7832428d4b187ce10f050a27c08d392ab82d /gdb/python/python-config.py | |
parent | ea8b10443b1cf39054a5c30e65ecf24ad860482d (diff) | |
download | binutils-a691853148fae5ce4345b14b5ae8f2e90d147f37.zip binutils-a691853148fae5ce4345b14b5ae8f2e90d147f37.tar.gz binutils-a691853148fae5ce4345b14b5ae8f2e90d147f37.tar.bz2 |
gdb/python: introduce gdbpy_registry
This commit introduces new template class gdbpy_registry to simplify
Python object lifecycle management. As of now, each of the Python
object implementations contain its own (copy of) lifecycle management
code that is largely very similar. The aim of gdbpy_registry is to
factor out this code into a common (template) class in order to simplify
the code.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/python-config.py')
0 files changed, 0 insertions, 0 deletions