Fix signals-state-child.exp in remote testing
authorYao Qi <yao.qi@linaro.org>
Tue, 23 Aug 2016 13:15:50 +0000 (14:15 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 23 Aug 2016 13:15:50 +0000 (14:15 +0100)
commit3589529e3cec4a5a72cd161959055d1e48dcf129
treed2af1d0cfc150fa958a36d56b764741a924c90c3
parent6342be709e8749d0a44c02e1876ddca360bfd52f
Fix signals-state-child.exp in remote testing

Remote testing isn't considered in signals-state-child.exp, so the it
fails like

shell diff -s /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/standalone.txt /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/gdb.txt^M
diff: /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/standalone.txt: No such file or directory^M
(gdb) FAIL: gdb.base/signals-state-child.exp: signals states are identical

This patch is to fix it.

gdb/testsuite:

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

* gdb.base/signals-state-child.exp: Set variables gdb_txt and
standalone_txt.  Delete gdb_txt and standalone_txt on host
and target.  Spawn the binary on target.  Copy files from
target to host.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/signals-state-child.exp