debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
This commit is contained in:
parent
7e662316d1
commit
54a5a2b365
91 changed files with 68 additions and 447 deletions
|
@ -15,9 +15,7 @@
|
|||
// compile-flags:-g
|
||||
|
||||
// gdb-command:set print union on
|
||||
// gdb-command:rbreak zzz
|
||||
// gdb-command:run
|
||||
// gdb-command:finish
|
||||
|
||||
// gdb-command:print case1
|
||||
// gdb-check:$1 = {{RUST$ENUM$DISR = Case1, a = 0, b = 31868, c = 31868, d = 31868, e = 31868}, {RUST$ENUM$DISR = Case1, a = 0, b = 2088533116, c = 2088533116}, {RUST$ENUM$DISR = Case1, a = 0, b = 8970181431921507452}}
|
||||
|
@ -76,7 +74,7 @@ fn main() {
|
|||
|
||||
let univariant = TheOnlyCase { a: -1i };
|
||||
|
||||
zzz();
|
||||
zzz(); // #break
|
||||
}
|
||||
|
||||
fn zzz() {()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue