This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]