diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 5fa7e4600368f0738a215683b80d416eda67c352..0f41ec72613bd96645cff29f0055fefbce2a6439 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -1146,10 +1146,9 @@ void tst_Dumpers::dumper()
         m_keepTemp = false;
     } else {
         qDebug() << "CONTENTS     : " << contents;
-        qDebug() << "Qt VERSION   : "
-            << qPrintable(QString::number(context.qtVersion, 16));
-        qDebug() << "GCC VERSION   : "
-            << qPrintable(QString::number(context.gccVersion, 16));
+        qDebug() << "Qt VERSION   : " << qPrintable(QString::number(context.qtVersion, 16));
+        if (m_debuggerEngine != DumpTestCdbEngine)
+            qDebug() << "GCC VERSION   : " << qPrintable(QString::number(context.gccVersion, 16));
         qDebug() << "BUILD DIR    : " << qPrintable(t->buildPath);
     }
     QVERIFY(ok);