[Bug rust/34344] New: Update for changes to Rust unsized handling
tromey at sourceware dot org via Gdb-prs <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=34344
Bug ID: 34344
Summary: Update for changes to Rust unsized handling
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: rust
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
Debuginfo for unsized types in Rust was changed.
See
https://github.com/rust-lang/rust/pull/153238
This causes some gdb test failures which you can see using nightly.
prentzel. grep ^FAIL gdb.sum
FAIL: gdb.rust/unsized2.exp: print *reference
FAIL: gdb.rust/unsized2.exp: print beta
FAIL: gdb.rust/unsized2.exp: print nested_unsized_struct
FAIL: gdb.rust/unsized2.exp: print unsized_struct
FAIL: gdb.rust/unsized2.exp: print unsized_struct.rest[1]
Since IIUC the new output is better (the old approach had
some cases that weren't handled properly) gdb should adapt.
I don't know if it's worth trying to check the rustc version or not.
--
You are receiving this mail because:
You are on the CC list for the bug.