https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109064
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:37c8a083d44f8123ad81a3cd411389b0b7b42ae6 commit r13-6579-g37c8a083d44f8123ad81a3cd411389b0b7b42ae6 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Mar 10 11:06:25 2023 +0000 libstdc++: Fix GDB Xmethod for std::shared_ptr::use_count() [PR109064] libstdc++-v3/ChangeLog: PR libstdc++/109064 * python/libstdcxx/v6/xmethods.py (SharedPtrUseCountWorker): Remove self-recursion in __init__. Add missing _supports. * testsuite/libstdc++-xmethods/shared_ptr.cc: Check use_count() and unique().