------- Comment #2 from jan dot kratochvil at redhat dot com 2008-05-19 22:19 ------- Created an attachment (id=15654) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15654&action=view) GCC fix.
Omit the whole attribute DW_AT_byte_size 0xffffffff. GCC testsuite ran on x86 and x86_64. GDB with this patch still produces invalid output on packed_tagged.exp but at least GDB does not crash. Sure the right way would be for GNAT to output the full DWARF2 expression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998