Set breakpoint condition-evaluation in forking-threads-plus-breakpoint.exp
authorYao Qi <yao.qi@linaro.org>
Thu, 18 Feb 2016 12:04:32 +0000 (12:04 +0000)
committerYao Qi <yao.qi@linaro.org>
Thu, 18 Feb 2016 12:04:32 +0000 (12:04 +0000)
commit40fb20d037581bc9d4b17b6ab64ee98825cfacab
tree9618dcdbc894515a351778f49ee0051040efc507
parentbf89386a862ace008f0152bca8bddf996d3993c8
Set breakpoint condition-evaluation in forking-threads-plus-breakpoint.exp

Proc do_test in forking-threads-plus-breakpoint.exp has an argument
cond_bp_target, but the test doesn't use it to set
"breakpoint condition-evaluation", which is an oversight in the test.

This patch fixes it by setting "breakpoint condition-evaluation" per
$cond_bp_target.

gdb/testsuite:

2016-02-18  Yao Qi  <yao.qi@linaro.org>

* gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
Set "set breakpoint condition-evaluation" per $cond_bp_target.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp