From: Geoffrey Keating Date: Sun, 23 Dec 2007 23:50:32 +0000 (+0000) Subject: objs-gcc.sh: Set up the GDB testsuite even if the gdb installed is just called 'gdb'. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=356a12e7de0c093be112bbd11df67858081463f8;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/contrib/regression/ChangeLog b/contrib/regression/ChangeLog index 11460d4..d2dcb1b 100644 --- a/contrib/regression/ChangeLog +++ b/contrib/regression/ChangeLog @@ -1,3 +1,8 @@ +2007-12-23 Geoff Keating + + * objs-gcc.sh: Set up the GDB testsuite even if the gdb installed + is just called 'gdb'. + 2007-12-22 Geoff Keating * btest-gcc.sh (TESTLOGS): Add gfortran, and optionally libgomp. diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh index d926f8b..9099850 100755 --- a/contrib/regression/objs-gcc.sh +++ b/contrib/regression/objs-gcc.sh @@ -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