gdb/reverse: Fix continue_to_breakpoint in syscall testcases.
authorMarcin Kościelnicki <koriakin@0x04.net>
Mon, 2 Nov 2015 19:27:19 +0000 (20:27 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Tue, 3 Nov 2015 10:56:18 +0000 (11:56 +0100)
commit7ad8b86c674ed941b354322f608cd964ca0affb2
tree2e9633225d7d2e312a6588e0b303c0b6def7874c
parentb9559b8bc4b3c0dffaf08569704a0484e1fb8080
gdb/reverse: Fix continue_to_breakpoint in syscall testcases.

continue_to_breakpoint always continues to the next breakpoint, not to the
one named in parameter.  This rendered the tests effectively useless, since
marker2 was never reached.

gdb/testsuite/ChangeLog:

* gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
reaching marker2.
* gdb.reverse/getresuid-reverse.exp: Likewise.
* gdb.reverse/pipe-reverse.exp: Likewise.
* gdb.reverse/readv-reverse.exp: Likewise.
* gdb.reverse/recvmsg-reverse.exp: Likewise.
* gdb.reverse/time-reverse.exp: Likewise.
* gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.reverse/fstatat-reverse.exp
gdb/testsuite/gdb.reverse/getresuid-reverse.exp
gdb/testsuite/gdb.reverse/pipe-reverse.exp
gdb/testsuite/gdb.reverse/readv-reverse.exp
gdb/testsuite/gdb.reverse/recvmsg-reverse.exp
gdb/testsuite/gdb.reverse/time-reverse.exp
gdb/testsuite/gdb.reverse/waitpid-reverse.exp