Use gdbserver-base in remote-gdbserver-on-localhost.exp
authorYao Qi <yao.qi@linaro.org>
Wed, 21 Sep 2016 10:43:22 +0000 (11:43 +0100)
committerYao Qi <yao.qi@linaro.org>
Thu, 22 Sep 2016 13:36:54 +0000 (14:36 +0100)
commit90681dabc79316d382aae5e932303f61bd705b16
tree021d1f766b6d9685d7d3c3a33d2799c467e9071c
parent0ec22c2c9fd06505f333c00235b3328a632bb69c
Use gdbserver-base in remote-gdbserver-on-localhost.exp

This patch is to make remote-gdbserver-on-localhost.exp use gdbserver-base
and remove duplicated code.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

* boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
path.
* boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
Remove duplication.
gdb/testsuite/ChangeLog
gdb/testsuite/boards/gdbserver-base.exp
gdb/testsuite/boards/remote-gdbserver-on-localhost.exp