diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-09-21 11:43:22 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-09-22 14:36:54 +0100 |
commit | 90681dabc79316d382aae5e932303f61bd705b16 (patch) | |
tree | 021d1f766b6d9685d7d3c3a33d2799c467e9071c /gdb/testsuite/boards/gdbserver-base.exp | |
parent | 0ec22c2c9fd06505f333c00235b3328a632bb69c (diff) | |
download | gdb-90681dabc79316d382aae5e932303f61bd705b16.zip gdb-90681dabc79316d382aae5e932303f61bd705b16.tar.gz gdb-90681dabc79316d382aae5e932303f61bd705b16.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/boards/gdbserver-base.exp')
-rw-r--r-- | gdb/testsuite/boards/gdbserver-base.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/boards/gdbserver-base.exp b/gdb/testsuite/boards/gdbserver-base.exp index 02a9244..2b50588 100644 --- a/gdb/testsuite/boards/gdbserver-base.exp +++ b/gdb/testsuite/boards/gdbserver-base.exp @@ -22,7 +22,7 @@ process_multilib_options "" set_board_info compiler "[find_gcc]" # Test the copy of gdbserver in the build directory. -set_board_info gdb_server_prog "../gdbserver/gdbserver" +set_board_info gdb_server_prog "[pwd]/../gdbserver/gdbserver" # gdbserver does not intercept target file operations and perform them # on the host. |