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,11 +15,9 @@
|
|||
|
||||
// === GDB TESTS ===================================================================================
|
||||
|
||||
// gdb-command:rbreak zzz
|
||||
// gdb-command:run
|
||||
|
||||
// STACK BY REF
|
||||
// gdb-command:finish
|
||||
// gdb-command:print *self
|
||||
// gdb-check:$1 = {x = 987}
|
||||
// gdb-command:print arg1
|
||||
|
@ -29,7 +27,6 @@
|
|||
// gdb-command:continue
|
||||
|
||||
// STACK BY VAL
|
||||
// gdb-command:finish
|
||||
// gdb-command:print self
|
||||
// gdb-check:$4 = {x = 987}
|
||||
// gdb-command:print arg1
|
||||
|
@ -39,7 +36,6 @@
|
|||
// gdb-command:continue
|
||||
|
||||
// OWNED BY REF
|
||||
// gdb-command:finish
|
||||
// gdb-command:print *self
|
||||
// gdb-check:$7 = {x = 879}
|
||||
// gdb-command:print arg1
|
||||
|
@ -49,7 +45,6 @@
|
|||
// gdb-command:continue
|
||||
|
||||
// OWNED BY VAL
|
||||
// gdb-command:finish
|
||||
// gdb-command:print self
|
||||
// gdb-check:$10 = {x = 879}
|
||||
// gdb-command:print arg1
|
||||
|
@ -59,7 +54,6 @@
|
|||
// gdb-command:continue
|
||||
|
||||
// OWNED MOVED
|
||||
// gdb-command:finish
|
||||
// gdb-command:print *self
|
||||
// gdb-check:$13 = {x = 879}
|
||||
// gdb-command:print arg1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue