diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-07-28 14:37:02 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-08-01 10:00:31 +0100 |
commit | 41bfcd638a4e0e48b96ce4de2845372dea481322 (patch) | |
tree | fd0dbf2ffce6826ac6acd3b1e997928023260039 /gdb/testsuite/gdb.threads | |
parent | 781bf64d2414f70c51938e15ebce5c88e7172e55 (diff) | |
download | gdb-41bfcd638a4e0e48b96ce4de2845372dea481322.zip gdb-41bfcd638a4e0e48b96ce4de2845372dea481322.tar.gz gdb-41bfcd638a4e0e48b96ce4de2845372dea481322.tar.bz2 |
Swap "single-process" and "multi-process" in process-dies-while-detaching.expgdb-7.12-branchpoint
"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".
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r-- | gdb/testsuite/gdb.threads/process-dies-while-detaching.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp index 8dc1aec..52dc8dd 100644 --- a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp +++ b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp @@ -318,7 +318,7 @@ proc do_test {multi_process cmd} { } 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"} { with_test_prefix "$mode: $cmd" { do_test $multi_process $cmd |