This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/35998] debug info invalid x86_64 DW_AT_byte_size 0xffffffff
- From: "jan dot kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2008 22:19:12 -0000
- Subject: [Bug ada/35998] debug info invalid x86_64 DW_AT_byte_size 0xffffffff
- References: <bug-35998-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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