[Bug breakpoints/28018] internal-error: Assertion 'TYPE_LENGTH(index_type) > 0' failed in create_range_type

simark at simark dot ca sourceware-bugzilla@sourceware.org
Wed Jun 30 12:41:16 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=28018

--- Comment #7 from Simon Marchi <simark at simark dot ca> ---
(In reply to SimonQian from comment #6)
> I get the option which make it fail, it's -gstabs+.
> And it's not a bug in gdb as displayed in gdb output.

It's technically a bug in GDB, since you hit an internal error (the
"internal-error: ..." message).

However, if the problem is due to using the stabs debug info format, I don't
think it's worth digging that much: the stabs format is pretty much a relic of
the past, you should really use DWARF.  Of course, if somebody volunteers to
fix the bug, I'm not against it, but I won't.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list