This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug rust/21097] can't disambiguate between enum and other types for rust
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 01 Feb 2017 23:31:40 +0000
- Subject: [Bug rust/21097] can't disambiguate between enum and other types for rust
- Auto-submitted: auto-generated
- References: <bug-21097-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21097
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
I see two definitions of Mod at the same level in the debuginfo.
I didn't investigate further but this is in keeping with comment#1.
I think there's a rustc bug open about this already, I will dig it up later.
<3><196df>: Abbrev Number: 29 (DW_TAG_structure_type)
<196e0> DW_AT_name : (indirect string, offset: 0x1c7f5f): Mod
<196e4> DW_AT_byte_size : 48
<4><196e5>: Abbrev Number: 26 (DW_TAG_member)
<196e6> DW_AT_name : (indirect string, offset: 0x154):
RUST$ENUM$DISR
<196ea> DW_AT_type : <0x16dc0>
<196ee> DW_AT_data_member_location: 0
<4><196ef>: Abbrev Number: 26 (DW_TAG_member)
<196f0> DW_AT_name : (indirect string, offset: 0xe8): __0
<196f4> DW_AT_type : <0x196fa>
<196f8> DW_AT_data_member_location: 8
<4><196f9>: Abbrev Number: 0
<3><196fa>: Abbrev Number: 29 (DW_TAG_structure_type)
<196fb> DW_AT_name : (indirect string, offset: 0x1c7f5f): Mod
<196ff> DW_AT_byte_size : 40
<4><19700>: Abbrev Number: 26 (DW_TAG_member)
<19701> DW_AT_name : (indirect string, offset: 0x4c0f): inner
<19705> DW_AT_type : <0x1fad05>
<19709> DW_AT_data_member_location: 0
<4><1970a>: Abbrev Number: 26 (DW_TAG_member)
<1970b> DW_AT_name : (indirect string, offset: 0x33cd): items
<1970f> DW_AT_type : <0x1c25bd>
<19713> DW_AT_data_member_location: 16
--
You are receiving this mail because:
You are on the CC list for the bug.