Bug 22282 - info locals 1 freeze at 100%
Summary: info locals 1 freeze at 100%
Status: RESOLVED OBSOLETE
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 7.10.1
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 16:40 UTC by sourceware.org-prf
Modified: 2018-04-19 07:23 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sourceware.org-prf 2017-10-11 16:40:29 UTC
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.
Comment 1 Tom Tromey 2018-04-01 17:36:19 UTC
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.
Comment 2 sourceware.org-prf 2018-04-19 07:23:49 UTC
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.