Test --wrapper in extended-remote
authorYao Qi <yao.qi@linaro.org>
Fri, 24 Jul 2015 13:40:34 +0000 (14:40 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 24 Jul 2015 13:40:34 +0000 (14:40 +0100)
commit8cfe207c9fcfcf940ec8eb834afde41432ec6d80
tree2095caa2232abb0b664ccc7dd156b9e9a3792978
parent84b74b498eb690e5a856c23b9abc71f9680b81a6
Test --wrapper in extended-remote

We didn't test --wrapper option in extended-remote before, this patch
is to add a test case for it.  In order to pass option --wrapper to
gdbserver in extended-remote, I add arg in gdbserver_start_extended,
and its default value is "", so that other places use
gdbserver_start_extended don't have to be updated.

gdb/testsuite:

2015-07-24  Yao Qi  <yao.qi@linaro.org>

* lib/gdbserver-support.exp (gdbserver_start_extended): Add
argument options.
* gdb.server/ext-wrapper.exp: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/ext-wrapper.exp [new file with mode: 0644]
gdb/testsuite/lib/gdbserver-support.exp