Daniel Berlin wrote:
> 
> Not our fault, the debug info is wrong, or it really is optimized out.
> It doesn't give us either a bit offset, or the data member location inside
> the struct, or a place where we can find them.
> So GDB, rightfully, assumed it's optimized out (because it has no
> location, and thus, doesn't exist).
> 
> It happens with both dwarf2 and stabs.

Just BTW, if the debug info is corrupt then GDB should report an error()
and not an internal_error().  Internal errors are more for when gdb's
internal data structures turn out to be broken (and about to core dump
:-).

        enjoy,
                Andrew

> > (gdb) p __ios_flags::_S_boolalpha
> > Internal error: could not find static variable _S_boolalpha

Reply via email to