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".
This commit is contained in:
parent
781bf64d24
commit
41bfcd638a
|
@ -1,3 +1,9 @@
|
||||||
|
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".
|
||||||
|
|
||||||
2016-08-01 Yao Qi <yao.qi@linaro.org>
|
2016-08-01 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* gdb.cp/anon-struct.exp: Check is_aarch32_target.
|
* gdb.cp/anon-struct.exp: Check is_aarch32_target.
|
||||||
|
|
|
@ -318,7 +318,7 @@ proc do_test {multi_process cmd} {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach multi_process {0 1} {
|
foreach multi_process {0 1} {
|
||||||
set mode [expr {$multi_process ? "single-process" : "multi-process"}]
|
set mode [expr {$multi_process ? "multi-process" : "single-process"}]
|
||||||
foreach cmd {"detach" "continue"} {
|
foreach cmd {"detach" "continue"} {
|
||||||
with_test_prefix "$mode: $cmd" {
|
with_test_prefix "$mode: $cmd" {
|
||||||
do_test $multi_process $cmd
|
do_test $multi_process $cmd
|
||||||
|
|
Loading…
Reference in New Issue