|
1 | 1 | // min-lldb-version: 310
|
2 |
| -// ignore-gdb // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155 |
3 | 2 |
|
4 | 3 | // compile-flags:-g
|
5 | 4 | // gdb-command:run
|
|
10 | 9 | // gdb-command:whatis i
|
11 | 10 | // gdb-check:type = isize
|
12 | 11 | // gdb-command:whatis c
|
13 |
| -// gdb-check:type = char |
| 12 | +// gdb-check:type = char32_t |
14 | 13 | // gdb-command:whatis i8
|
15 | 14 | // gdb-check:type = i8
|
16 | 15 | // gdb-command:whatis i16
|
|
34 | 33 | // gdb-command:whatis f64
|
35 | 34 | // gdb-check:type = f64
|
36 | 35 | // gdb-command:whatis fnptr
|
37 |
| -// gdb-check:type = [...] (*)([...]) |
| 36 | +// gdb-check:type = *mut fn () |
38 | 37 | // gdb-command:info functions _yyy
|
39 | 38 | // gdbg-check:[...]![...]_yyy([...]);
|
40 |
| -// gdbr-check:static fn basic_types_metadata::_yyy() -> !; |
| 39 | +// gdbr-check:static fn basic_types_metadata::_yyy(); |
41 | 40 | // gdb-command:ptype closure_0
|
42 |
| -// gdbr-check: type = struct closure |
| 41 | +// gdbr-check: type = struct basic_types_metadata::main::{closure_env#0} |
43 | 42 | // gdbg-check: type = struct closure {
|
44 | 43 | // gdbg-check: <no data fields>
|
45 | 44 | // gdbg-check: }
|
46 | 45 | // gdb-command:ptype closure_1
|
47 | 46 | // gdbg-check: type = struct closure {
|
48 | 47 | // gdbg-check: bool *__0;
|
49 | 48 | // gdbg-check: }
|
50 |
| -// gdbr-check: type = struct closure ( |
51 |
| -// gdbr-check: bool *, |
52 |
| -// gdbr-check: ) |
| 49 | +// gdbr-check: type = struct basic_types_metadata::main::{closure_env#1} { |
| 50 | +// gdbr-check: _ref__b: *mut bool, |
| 51 | +// gdbr-check: } |
53 | 52 | // gdb-command:ptype closure_2
|
54 | 53 | // gdbg-check: type = struct closure {
|
55 | 54 | // gdbg-check: bool *__0;
|
56 | 55 | // gdbg-check: isize *__1;
|
57 | 56 | // gdbg-check: }
|
58 |
| -// gdbr-check: type = struct closure ( |
59 |
| -// gdbr-check: bool *, |
60 |
| -// gdbr-check: isize *, |
61 |
| -// gdbr-check: ) |
| 57 | +// gdbr-check: type = struct basic_types_metadata::main::{closure_env#2} { |
| 58 | +// gdbr-check: _ref__b: *mut bool, |
| 59 | +// gdbr-check: _ref__i: *mut isize, |
| 60 | +// gdbr-check: } |
62 | 61 |
|
63 | 62 | //
|
64 | 63 | // gdb-command:continue
|
|
0 commit comments