This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug rust/23626] gdb crashes in upstream rust nil-enum test
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 10 Sep 2018 17:47:22 +0000
- Subject: [Bug rust/23626] gdb crashes in upstream rust nil-enum test
- Auto-submitted: auto-generated
- References: <bug-23626-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23626
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
The DWARF says:
<2><311>: Abbrev Number: 7 (DW_TAG_structure_type)
<312> DW_AT_name : (indirect string, offset: 0x2ae): ANilEnum
<316> DW_AT_byte_size : 0
<317> DW_AT_alignment : 1
<3><318>: Abbrev Number: 8 (DW_TAG_variant_part)
<3><319>: Abbrev Number: 0
The source says:
enum ANilEnum {}
So basically a pathological case not accounted for at some spot in the
gdb variant part code.
--
You are receiving this mail because:
You are on the CC list for the bug.