This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Have the regression tester test gdb
- From: geoffk at geoffk dot org (Geoff Keating)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 23 Dec 2007 15:04:10 -0800 (PST)
- Subject: Have the regression tester test gdb
It seems that GDB no longer installs $TARGET-gdb on a native system.
===File ~/patches/regress-gdbnative.patch===================
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'.
Index: objs-gcc.sh
===================================================================
--- objs-gcc.sh (revision 131146)
+++ objs-gcc.sh (working copy)
@@ -113,7 +113,7 @@
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
============================================================