Extend step-over-syscall.exp with different detach-on-fork and follow-fork modes
authorYao Qi <yao.qi@linaro.org>
Fri, 17 Jun 2016 09:25:13 +0000 (10:25 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 17 Jun 2016 09:38:55 +0000 (10:38 +0100)
commit21a770913c24ab085fe66a5274ebe7cf9e031982
tree4b6bf6c2697813538d25cbb9cc647cecab8b3ea3
parent2e7b624b851c34f6bc2ab75fcbc94db75f72eb3a
Extend step-over-syscall.exp with different detach-on-fork and follow-fork modes

This patch extends step-over-syscall.exp by setting different values to
detach-on-fork and follow-fork.

gdb/testsuite:

2016-06-17  Yao Qi  <yao.qi@linaro.org>

* gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
parameters follow_fork and detach_on_fork.  Set follow-fork-mode
and detach-on-fork.  Adjust tests.
(top level): Invoke break_cond_on_syscall with combinations of
syscall, follow-fork-mode and detach-on-fork.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/step-over-syscall.exp