Hi, I'm using OS X Yosemite. I've compiled with gcc 7.10. When I debug with gdb 7.10.1 or with gdb 8.0, info locals put gdb at 100% and never returns, but it doesn't crash. I can supply the executable file. Is it known ? Is there something that I can do. I can consider to debug gdb, ut can you point me in the right direction ? Regards.
As far as I know it isn't known. You can debug gdb by invoking it like: gdb --args gdb your-program-here Then when it is hung, interrupt and get a stack trace. That might help diagnose the problem, though it is hard to know for sure.
I've changed os x version. I installed gdb 8.0.1 because I read somewhere that the previous version and the next doesn't work. This version seems not to have this big so far. Although there is another bug that prevent me to use it. I'll open a new report. Thanks for answer.