OSDN Git Service

* objs-gcc.sh: Set up the GDB testsuite even if the gdb installed
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Dec 2007 23:50:32 +0000 (23:50 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Dec 2007 23:50:32 +0000 (23:50 +0000)
is just called 'gdb'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131151 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/regression/ChangeLog
contrib/regression/objs-gcc.sh

index 11460d4..d2dcb1b 100644 (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.
index d926f8b..9099850 100755 (executable)
@@ -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