http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36266
Mark Wielaard <mark at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at gcc dot gnu.org --- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> 2012-04-11 12:57:49 UTC --- This seems fixed in g++ (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2). The Cursor typedef now is in the avmplus namespace scope. Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0xa3 (32-bit) Version: 4 Abbrev Offset: 0 Pointer Size: 8 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit) <c> DW_AT_producer : (indirect string, offset: 0x8): GNU C++ 4.6.3 20120306 (Red Hat 4.6.3-2) -fpreprocessed -mtune=generic -march=x86-64 -g <10> DW_AT_language : 4 (C++) <11> DW_AT_name : (indirect string, offset: 0x60): Interpreter.ii <15> DW_AT_comp_dir : (indirect string, offset: 0x76): /tmp <19> DW_AT_stmt_list : 0x0 <1><1d>: Abbrev Number: 2 (DW_TAG_typedef) <1e> DW_AT_name : (indirect string, offset: 0x0): uint8_t <22> DW_AT_decl_file : 1 <23> DW_AT_decl_line : 1 <24> DW_AT_type : <0x28> <1><28>: Abbrev Number: 3 (DW_TAG_base_type) <29> DW_AT_byte_size : 1 <2a> DW_AT_encoding : 8 (unsigned char) <2b> DW_AT_name : (indirect string, offset: 0x8c): unsigned char <1><2f>: Abbrev Number: 4 (DW_TAG_namespace) <30> DW_AT_name : (indirect string, offset: 0x9a): avmplus <34> DW_AT_decl_file : 1 <35> DW_AT_decl_line : 3 <36> DW_AT_sibling : <0x74> <2><3a>: Abbrev Number: 5 (DW_TAG_structure_type) <3b> DW_AT_name : Box <3f> DW_AT_declaration : 1 <3f> DW_AT_sibling : <0x54> <3><43>: Abbrev Number: 6 (DW_TAG_union_type) <44> DW_AT_byte_size : 8 <45> DW_AT_decl_file : 1 <46> DW_AT_decl_line : 8 <4><47>: Abbrev Number: 7 (DW_TAG_member) <48> DW_AT_name : (indirect string, offset: 0x6f): abcpos <4c> DW_AT_decl_file : 1 <4d> DW_AT_decl_line : 9 <4e> DW_AT_type : <0x54> <2><54>: Abbrev Number: 2 (DW_TAG_typedef) <55> DW_AT_name : (indirect string, offset: 0x7b): Cursor <59> DW_AT_decl_file : 1 <5a> DW_AT_decl_line : 4 <5b> DW_AT_type : <0x74> <2><5f>: Abbrev Number: 8 (DW_TAG_variable) <60> DW_AT_name : (indirect string, offset: 0x82): boxedNull <64> DW_AT_decl_file : 1 <65> DW_AT_decl_line : 12 <66> DW_AT_type : <0x92> <6a> DW_AT_declaration : 1 <6a> DW_AT_const_value : 8 byte block: 0 0 0 0 0 0 0 0 <1><74>: Abbrev Number: 9 (DW_TAG_pointer_type) <75> DW_AT_byte_size : 8 <76> DW_AT_type : <0x7a> <1><7a>: Abbrev Number: 10 (DW_TAG_const_type) <7b> DW_AT_type : <0x1d> <1><7f>: Abbrev Number: 11 (DW_TAG_structure_type) <80> DW_AT_specification: <0x3a> <84> DW_AT_byte_size : 8 <85> DW_AT_decl_file : 1 <86> DW_AT_decl_line : 5 <87> DW_AT_sibling : <0x92> <2><8b>: Abbrev Number: 12 (DW_TAG_member) <8c> DW_AT_type : <0x43> <90> DW_AT_data_member_location: 0 <1><92>: Abbrev Number: 10 (DW_TAG_const_type) <93> DW_AT_type : <0x7f> <1><97>: Abbrev Number: 13 (DW_TAG_variable) <98> DW_AT_specification: <0x5f> <9c> DW_AT_location : 9 byte block: 3 0 0 0 0 0 0 0 0 (DW_OP_addr: 0)