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