aboutsummaryrefslogtreecommitdiff
path: root/contrib/regression/objs-gcc.sh
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2007-12-23 23:50:32 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-12-23 23:50:32 +0000
commit356a12e7de0c093be112bbd11df67858081463f8 (patch)
treecde5319ccd2cb0005736791197512765671ce394 /contrib/regression/objs-gcc.sh
parent107d5ff67f3558b6fc77dfa51d0ccefc29eb7f49 (diff)
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
Diffstat (limited to 'contrib/regression/objs-gcc.sh')
-rwxr-xr-xcontrib/regression/objs-gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh
index d926f8b85bf..9099850e490 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