mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
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:
parent
75f462e649
commit
bdf797c009
@ -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 |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user