[Bug debug/39705] enum constants don't appear in debug_pubnames

dodji at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 29 12:40:00 GMT 2009



------- Comment #1 from dodji at gcc dot gnu dot org  2009-07-29 12:40 -------
Subject: Re:   New: enum constants don't appear in debug_pubnames

Le 10/04/2009 01:42, tromey at gcc dot gnu dot org a écrit :
> enum constants don't appear in .debug_pubnames.
> It seems like perhaps they should, because they are global (in a sense).

The attached patchlet seems to be doing the trick.

The entry in the .debug_pubname for a given enum constant points to the
corresponding DW_TAG_enumerator DIE representing the enum constant in the
.debug_info section.

Is this what you meant ?


------- Comment #2 from dodji at gcc dot gnu dot org  2009-07-29 12:40 -------
Created an attachment (id=18267)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18267&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39705



More information about the Gcc-bugs mailing list