http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55447
Bug #: 55447 Summary: insufficient debug info for strong typed enum Classification: Unclassified Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: pavel.zayt...@oracle.com For strong typed enum, there is no type and class information. # cat t.cc enum class Color : long { red = 200, green = 300 }; int main() { Color c; return 0; } #g++ -g -std=c++0x t.cc < 1><0x00000025> DW_TAG_enumeration_type DW_AT_name "Color" DW_AT_byte_size 0x00000004 DW_AT_decl_file 0x00000001 DW_AT_decl_line 0x00000001 DW_AT_sibling <0x00000040> Should have a DW_AT_enum_class and DW_AT_type under DW_TAG_enumeration_type.