|
11 | 11 | // gdb-command: run
|
12 | 12 |
|
13 | 13 | // gdb-command: print slice
|
14 |
| -// gdb-check:$1 = &[i32](len: 4) = {0, 1, 2, 3} |
| 14 | +// gdb-check:$1 = &[i32](size=4) = {0, 1, 2, 3} |
15 | 15 |
|
16 | 16 | // gdb-command: print vec
|
17 |
| -// gdb-check:$2 = Vec<u64, alloc::alloc::Global>(len: 4, cap: [...]) = {4, 5, 6, 7} |
| 17 | +// gdb-check:$2 = Vec(size=4) = {4, 5, 6, 7} |
18 | 18 |
|
19 | 19 | // gdb-command: print str_slice
|
20 | 20 | // gdb-check:$3 = "IAMA string slice!"
|
|
23 | 23 | // gdb-check:$4 = "IAMA string!"
|
24 | 24 |
|
25 | 25 | // gdb-command: print some
|
26 |
| -// gdb-check:$5 = Some = {8} |
| 26 | +// gdb-check:$5 = core::option::Option<i16>::Some(8) |
27 | 27 |
|
28 | 28 | // gdb-command: print none
|
29 | 29 | // gdbg-check:$6 = None
|
30 |
| -// gdbr-check:$6 = core::option::Option::None |
| 30 | +// gdbr-check:$6 = core::option::Option<i64>::None |
31 | 31 |
|
32 | 32 | // gdb-command: print os_string
|
33 | 33 | // gdb-check:$7 = "IAMA OS string 😃"
|
34 | 34 |
|
35 | 35 | // gdb-command: print some_string
|
36 |
| -// gdb-check:$8 = Some = {"IAMA optional string!"} |
| 36 | +// gdb-check:$8 = core::option::Option<alloc::string::String>::Some("IAMA optional string!") |
37 | 37 |
|
38 |
| -// gdb-command: set print length 5 |
| 38 | +// gdb-command: set print elements 5 |
39 | 39 | // gdb-command: print some_string
|
40 |
| -// gdb-check:$8 = Some = {"IAMA "...} |
| 40 | +// gdb-check:$9 = core::option::Option<alloc::string::String>::Some("IAMA "...) |
41 | 41 |
|
42 | 42 | // === LLDB TESTS ==================================================================================
|
43 | 43 |
|
|
0 commit comments