"&"gdbtypes.c:2160: internal-error: type* resolve_dynamic_struct(type*, property_addr_info*): Assertion `TYPE_NFIELDS (type) > 0' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\n"
&"\nThis is a bug, please report it."
To reproduce compile the below with fpc 3.0.4
using command-line options -gw3 for dwarf 3
Presumingly gdb does dislike the fact that the structure has no members?
However there is nothing in the DWARF spec (not that I have found) that prohibits this.
To get the error do a