[RFA] Patch for PR debug/40109

Dodji Seketeli dodji@redhat.com
Wed May 13 09:09:00 GMT 2009


Hello,

In the code example accompanying the attached patch, the problem is
that the DIE of the typedef declaration is not correctly nested. It is
generated as a child of the function main instead of being a child of
the namespace A.

The patch ensures that typedef DIEs are generated as children of the
containing namespace's DIE.

Other type DIEs are already properly nested.

The patch passes bootstrap and regtests on 4.3, 4.4 and trunk.
I also ran the GDB tests and I didn't notice any regression for these
branches.

OK to commit to these branches ?

-- 
Dodji Seketeli
Red Hat, Inc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-PR40109-patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090513/f60bec22/attachment.txt>


More information about the Gcc-patches mailing list