gdbserver tests: only create the gdbserver_tests/gdb soft link if ./configure found gdb.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11753
This commit is contained in:
Bart Van Assche 2011-05-15 06:18:24 +00:00
parent 75f462e649
commit bdf797c009

View File

@ -10,9 +10,9 @@
# The vgdb link is needed either for gdb tests
# or for standalone vgdb tests.
ln -f -s $1 gdbserver_tests/gdb
if [ -x gdbserver_tests/gdb ]
if [ -x "$1" ]
then
ln -f -s "$1" gdbserver_tests/gdb
# Try to extract the gdb version.
VERSIONLINE=`gdbserver_tests/gdb --version | head -1`
VERSION=`echo $VERSIONLINE |