aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-gdb-readline.c
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@labware.com>2025-03-19 21:12:53 +0000
committerJan Vrany <jan.vrany@labware.com>2025-03-19 21:12:53 +0000
commita691853148fae5ce4345b14b5ae8f2e90d147f37 (patch)
treedddb7832428d4b187ce10f050a27c08d392ab82d /gdb/python/py-gdb-readline.c
parentea8b10443b1cf39054a5c30e65ecf24ad860482d (diff)
downloadbinutils-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/py-gdb-readline.c')
0 files changed, 0 insertions, 0 deletions