binutils-gdb/gdb/python
Jan Vrany a691853148 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>
2025-03-19 21:12:53 +00:00
..
lib/gdb [gdb/python] Fix typos in lib 2025-03-06 23:21:54 +01:00
py-all-events.def
py-arch.c gdb/python: add void_type () method to gdb.Architecture object 2025-02-04 13:56:49 +00:00
py-auto-load.c [gdb/contrib] Add two rules in common-misspellings.txt 2024-11-23 12:20:34 +01:00
py-block.c gdb/python: add subblocks property to gdb.Block 2025-02-04 13:56:49 +00:00
py-bpevent.c
py-breakpoint.c Bploc should try to return full path 2025-03-03 18:53:12 +01:00
py-cmd.c
py-color.c Add an option with a color type. 2025-01-12 13:30:43 -07:00
py-color.h Fix check-include-guards.py 2025-03-10 09:18:40 -06:00
py-connection.c Use gdb map in py-connection.c 2025-03-11 08:40:06 -06:00
py-continueevent.c
py-dap.c
py-disasm.c gdb/python: remove unused argument from builtin_disassemble 2025-03-15 17:12:12 +00:00
py-event-types.def
py-event.c
py-event.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-events.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c
py-framefilter.c [gdb/python] Fix typos 2025-03-06 23:21:54 +01:00
py-function.c
py-gdb-readline.c
py-inferior.c gdb: split up construct_inferior_arguments 2025-03-18 13:03:07 +00:00
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-lazy-string.c [gdb/python] Fix typos 2025-03-06 23:21:54 +01:00
py-linetable.c
py-membuf.c
py-mi.c
py-micmd.c
py-newobjfileevent.c
py-objfile.c
py-param.c Add an option with a color type. 2025-01-12 13:30:43 -07:00
py-prettyprint.c
py-progspace.c [gdb/python] Fix typos 2025-03-06 23:21:54 +01:00
py-record-btrace.c
py-record-btrace.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-record-full.c
py-record-full.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-record.c
py-record.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-ref.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-registers.c Use gdb unordered set and map in Python layer 2025-03-18 05:32:04 -06:00
py-signalevent.c
py-stopevent.c
py-stopevent.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00
py-symbol.c gdb/python: do not hold on gdb.Symtab object from gdb.Symtab_and_line 2025-03-19 21:12:53 +00:00
py-symtab.c gdb/python: do not hold on gdb.Symtab object from gdb.Symtab_and_line 2025-03-19 21:12:53 +00:00
py-threadevent.c
py-tui.c
py-type.c gdb/python: preserve identity for gdb.Type objects 2025-03-19 21:12:53 +00:00
py-uiout.h
py-unwind.c gdb: Migrate frame unwinders to use C++ classes 2025-01-17 11:49:16 -03:00
py-utils.c
py-value.c gdb/python: do not hold on gdb.Type object from gdb.Value 2025-03-19 21:12:53 +00:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h gdb/python: introduce gdbpy_registry 2025-03-19 21:12:53 +00:00
python.c gdb/python: new styling argument to gdb.execute 2025-03-19 14:31:53 +00:00
python.h Run check-include-guards.py 2024-12-18 10:00:44 -07:00