Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GDB pretty-printer for tuples and pointers #42278

Merged
merged 8 commits into from
Jun 9, 2017
5 changes: 5 additions & 0 deletions src/test/debuginfo/pretty-std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
// gdbg-check:$6 = None
// gdbr-check:$6 = core::option::Option::None

// gdb-command: print some_string
// gdbr-check:$7 = Some = {"IAMA optional string!"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should try making this gdb-check instead of just gdbr-check, so both kinds of GDB are tested.



// === LLDB TESTS ==================================================================================

Expand Down Expand Up @@ -82,6 +85,8 @@ fn main() {
let some = Some(8i16);
let none: Option<i64> = None;

let some_string = Some("IAMA optional string!".to_owned());

zzz(); // #break
}

Expand Down