aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/boards
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-14 14:14:38 -0700
committerTom Tromey <tom@tromey.com>2020-02-14 14:14:38 -0700
commitf251f50533110132ce83678d644d53b1d1110b05 (patch)
treedf0286067321d7a43bc82893487c9720f63a95da /gdb/testsuite/boards
parente8217e61f5952ccfdabb0c4ee0c237a363e9bd99 (diff)
downloadgdb-f251f50533110132ce83678d644d53b1d1110b05.zip
gdb-f251f50533110132ce83678d644d53b1d1110b05.tar.gz
gdb-f251f50533110132ce83678d644d53b1d1110b05.tar.bz2
Have testsuite find gdbserver in new location
This updates the gdb testsuite to look for gdbserver in its new location. The old location is also checked for, on the theory that perhaps someone sets GDB to a full path for install testing. gdb/testsuite/ChangeLog 2020-02-14 Tom Tromey <tom@tromey.com> * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in build directory. * boards/gdbserver-base.exp: Update path to gdbserver. Change-Id: If03db762ba53882ddfaf2d2d516de14c3fa03938
Diffstat (limited to 'gdb/testsuite/boards')
-rw-r--r--gdb/testsuite/boards/gdbserver-base.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/boards/gdbserver-base.exp b/gdb/testsuite/boards/gdbserver-base.exp
index 4db834d..f27a2fd 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 "[pwd]/../gdbserver/gdbserver"
+set_board_info gdb_server_prog "[pwd]/../../gdbserver/gdbserver"
# gdbserver does not intercept target file operations and perform them
# on the host.