@@ -1,3 +1,7 @@
+2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
+
2016-06-28 Ben Elliston <bje@gnu.org>
* aclocal.m4, Makefile.in: Regenerate with automake 1.15.
@@ -87,6 +87,11 @@ set target_cpu "" ;# type of the cpu tests are running on
set target_alias "" ;# standard abbreviation of target
set compiler_flags "" ;# the flags used by the compiler
+# Various ccache versions provide incorrect debug info such as ignoring
+# different current directory, breaking GDB testsuite.
+set env(CCACHE_DISABLE) 1
+unset -nocomplain env(CCACHE_NODISABLE)
+
#
# some convenience abbreviations
#