[Bug c++/99215] coroutines: debugging with gdb

nilsgladitz at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 22 12:13:12 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215

--- Comment #7 from Nils Gladitz <nilsgladitz at gmail dot com> ---
(In reply to Nils Gladitz from comment #5)
> Apparently when the coroutine happens to be a member function (even a static
> one) printing *frame_ptr results in "{<No data fields>}".

I reported the "{<No data fields>}" issue at the gdb issue tracker:
https://sourceware.org/bugzilla/show_bug.cgi?id=27556

Managed to create a local workaround from comments made there.
It was mentioned that gcc itself may be generating improper debug information
(I think specifically nesting the frame type within a function) but as I
mentioned  over there I myself don't know for sure if this is uncommon or
actually invalid.


More information about the Gcc-bugs mailing list