commit | 980ceecacc2ce3169248a1a740c3d008133e4ac4 | [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 | fc889a59ff1eae29a4a1fbbeed5c5afc09cd2be1 | |
parent | a691853148fae5ce4345b14b5ae8f2e90d147f37 [diff] |
gdb/python: convert gdb.Symbol to use gdbpy_registry This commit converts gdb.Symbol to use gdbpy_registry for lifecycle management. Since gdb.Symbol only holds on the struct symbol * (and prev/next links) the default invalidator can be used. Approved-By: Tom Tromey <tom@tromey.com>