diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp
index 58cba9c426aab091050854efe29694a1bfdebc73..ae80da5b716b39e8515aeae6a8140a9752b759cc 100644
--- a/src/plugins/debugger/gdbengine.cpp
+++ b/src/plugins/debugger/gdbengine.cpp
@@ -663,7 +663,7 @@ void GdbEngine::interruptInferior()
     sendCommand("-exec-interrupt", GdbExecInterrupt);
     qq->notifyInferiorStopped();
 #else
-    debugMessage(QString("CANNOT STOP INFERIOR %1").arg(m_gdbProc.pid()));
+    debugMessage(QString("CANNOT STOP INFERIOR"));
     if (interruptChildProcess(m_gdbProc.pid()))
         qq->notifyInferiorStopped();
 #endif