Re-enable struct value printing in debug info tests with gdb pretty printing off
This commit is contained in:
parent
c913eff51d
commit
f1928d8e2c
@ -9,12 +9,15 @@
|
||||
// except according to those terms.
|
||||
|
||||
// compile-flags:-Z extra-debug-info
|
||||
// debugger:break 26
|
||||
// debugger:set print pretty off
|
||||
// debugger:break 29
|
||||
// debugger:run
|
||||
// debugger:print pair
|
||||
// check:$1 = {x = 1, y = 2}
|
||||
// debugger:print pair.x
|
||||
// check:$1 = 1
|
||||
// check:$2 = 1
|
||||
// debugger:print pair.y
|
||||
// check:$2 = 2
|
||||
// check:$3 = 2
|
||||
|
||||
struct Pair {
|
||||
x: int,
|
||||
|
@ -8,16 +8,12 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-test
|
||||
// compile-flags:-Z extra-debug-info
|
||||
// debugger:break 23
|
||||
// debugger:set print pretty off
|
||||
// debugger:break 20
|
||||
// debugger:run
|
||||
// debugger:print t
|
||||
// check:$1 = {
|
||||
// check:4,
|
||||
// check:5.5,
|
||||
// check:true
|
||||
// check:}
|
||||
// check:$1 = {4, 5.5, true}
|
||||
|
||||
fn main() {
|
||||
let t = (4, 5.5, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user