-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Description
"Up-to-date" test case:
fn main() {
struct moo {a: float};
let x = [moo{a: 1.5}, moo{a: 2.3}];
io::println(fmt!("%?", x));
}
(build with rustc -Z debug-info
, then load it up in gdb and set a breakpoint on main
.)
Original reported test case follows
let x = [{a: 1.5},{a: 2.3}]
The values of a in gdb are wildly incorrect.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)