tromey at sourceware dot org
2018-03-07 22:22:14 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=22936
Bug ID: 22936
Summary: some tests fail with rustc 1.24
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: rust
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
rustc 1.24 causes some test failures in simple.exp and generics.exp.
For simple.exp the problem so far seems to be that the debuginfo changed.
Now rustc emits this for a rust enum member:
<3><2c99>: Abbrev Number: 18 (DW_TAG_member)
<2c9a> DW_AT_type : <0x2cc8>
<2c9e> DW_AT_byte_size : 24
<2c9f> DW_AT_bit_size : 8
<2ca0> DW_AT_bit_offset : 56
<2ca1> DW_AT_data_member_location: 0x1ffffffffffffff0
Maybe the bit and byte sizes disagree because the data doesn't occupy the
full width? DWARF seems to specify this behavior for base types but
that's the only rationale I could come up with.
Also the data member location seems incorrect.
Bug ID: 22936
Summary: some tests fail with rustc 1.24
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: rust
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
rustc 1.24 causes some test failures in simple.exp and generics.exp.
For simple.exp the problem so far seems to be that the debuginfo changed.
Now rustc emits this for a rust enum member:
<3><2c99>: Abbrev Number: 18 (DW_TAG_member)
<2c9a> DW_AT_type : <0x2cc8>
<2c9e> DW_AT_byte_size : 24
<2c9f> DW_AT_bit_size : 8
<2ca0> DW_AT_bit_offset : 56
<2ca1> DW_AT_data_member_location: 0x1ffffffffffffff0
Maybe the bit and byte sizes disagree because the data doesn't occupy the
full width? DWARF seems to specify this behavior for base types but
that's the only rationale I could come up with.
Also the data member location seems incorrect.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.