]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Swap "single-process" and "multi-process" in process-dies-while-detaching.exp gdb-7.12-branchpoint
authorYao Qi <yao.qi@linaro.org>
Thu, 28 Jul 2016 13:37:02 +0000 (14:37 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 1 Aug 2016 09:00:31 +0000 (10:00 +0100)
commit41bfcd638a4e0e48b96ce4de2845372dea481322
treefd0dbf2ffce6826ac6acd3b1e997928023260039
parent781bf64d2414f70c51938e15ebce5c88e7172e55
Swap "single-process" and "multi-process" in process-dies-while-detaching.exp

"single-process" and "multi-process" are used in the test message of
process-dies-while-detaching.exp, but they are misplaced due to

    set mode [expr {$multi_process ? "single-process" : "multi-process"}]

This patch is to swap them.

gdb/testsuite:

2016-08-01  Yao Qi  <yao.qi@linaro.org>

* gdb.threads/process-dies-while-detaching.exp (do_test): Set
variable mode to "multi-process" if $multi_process is 1, otherwise
set it to "single-process".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/process-dies-while-detaching.exp