objs-gcc.sh: Set up the GDB testsuite even if the gdb installed is just called 'gdb'.

* objs-gcc.sh: Set up the GDB testsuite even if the gdb installed
	is just called 'gdb'.

From-SVN: r131151
This commit is contained in:
Geoffrey Keating 2007-12-23 23:50:32 +00:00 committed by Geoffrey Keating
parent 107d5ff67f
commit 356a12e7de
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-12-23 Geoff Keating <geoffk@geoffk.org>
* objs-gcc.sh: Set up the GDB testsuite even if the gdb installed
is just called 'gdb'.
2007-12-22 Geoff Keating <geoffk@geoffk.org>
* btest-gcc.sh (TESTLOGS): Add gfortran, and optionally libgomp.

View File

@ -113,7 +113,7 @@ else
make install || exit 1
fi
if [ -x $PREFIX/bin/$TARGET-gdb ] ; then
if [ -x $PREFIX/bin/$TARGET-gdb -o -x $PREFIX/bin/gdb ] ; then
mkdir -p $PREFIX/share/gdb-testsuite || exit 1
cd $SOURCE/gdb/testsuite || exit 1
find . -print | cpio -pdmu $PREFIX/share/gdb-testsuite || exit 1