summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-23 23:50:32 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-23 23:50:32 +0000
commit02302872e9485090ae71793590ea4762471a2425 (patch)
treecde5319ccd2cb0005736791197512765671ce394 /contrib
parent407c9b8065621fef4502342c7ccf774271f9feb6 (diff)
downloadgcc-02302872e9485090ae71793590ea4762471a2425.tar.gz
* objs-gcc.sh: Set up the GDB testsuite even if the gdb installed
is just called 'gdb'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/regression/ChangeLog5
-rwxr-xr-xcontrib/regression/objs-gcc.sh2
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/regression/ChangeLog b/contrib/regression/ChangeLog
index 11460d418eb..d2dcb1bd7c5 100644
--- a/contrib/regression/ChangeLog
+++ b/contrib/regression/ChangeLog
@@ -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.
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