Ping2: [PATCH] PR debug/16063. Add DW_AT_type to DW_TAG_enumeration.

Mark Wielaard mjw@redhat.com
Wed May 21 13:27:00 GMT 2014


On Tue, 2014-05-20 at 15:46 -0400, Jason Merrill wrote:
> Rather than define the hook for C, let's have a default version that 
> uses the type_for_size langhook; that should work better for Ada.

That also makes the patch simpler. Updated patch attached.

Bootstrapped on x86_64-unknown-linux-gnu with --enable-languages=c,c
++,objc,java,ada,fortran and ran against the gdb testsuite without
regressions (there is a tweak needed for one test regexp in
gdb.cp/var-tag.exp to deal with the extra type information, but Tom and
I already discussed on irc this isn't a regression, I'll submit a gdb
testsuite patch asap).

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PR-debug-16063.-Add-DW_AT_type-to-DW_TAG_enumeration.patch
Type: text/x-patch
Size: 7402 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140521/1f1c3b65/attachment.bin>


More information about the Gcc-patches mailing list