Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: ks1322 at gmail dot com
Target Milestone: ---
This is basically the same bug report as the Bug 49951 because it can be
reproduced with recent version of gcc.
I don't know whether Bug
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ks1322 at gmail dot com
Target Milestone: ---
Based on
https://stackoverflow.com/questions/75652764/gdb-fails-with-python-exception-class-recursionerror-maximum-recursion-dep
Seems
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109064
--- Comment #1 from ks1322 at gmail dot com ---
Looks like infinite recursion is here, SharedPtrUseCountWorker.__init__ calls
itself
```
class SharedPtrUseCountWorker(gdb.xmethod.XMethodWorker):
"Implements std::shared_ptr::use_
: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ks1322 at gmail dot com
Target Milestone: ---
For this code:
```
#include
int main()
{
std::deque d;
d.push_front(0);
return 0;
}
```
deque size xmethod produces wrong result
```
$ gdb -batch -ex "b 8