commit | f55f92476159098d5200d57768fdc0071e04ed67 | [log] [tgz] |
---|---|---|
author | Jan Vrany <jan.vrany@labware.com> | Wed Mar 19 21:12:53 2025 +0000 |
committer | Jan Vrany <jan.vrany@labware.com> | Wed Mar 19 21:12:53 2025 +0000 |
tree | 6c6e5bb30e3bc6e26d476598f93557cc79f9cd8a | |
parent | cd8707ad0d0e5ec8b5f7150269681952f26505b8 [diff] |
gdb/python: convert gdb.Symtab to use gdbpy_registry This commit converts gdb.Symtab to use gdbpy_registry for lifecycle management. Since gdb.Symtab only holds on the struct symtab * (and prev/next links) the default invalidator can be used. Approved-By: Tom Tromey <tom@tromey.com>