diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 06d5b1f3394388db56a90fe6f71a2e4d59975bb0..16efcd7c04387f482b73dfed209295bddc477a5e 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -596,7 +596,10 @@ void GdbEngine::handleResponse(const QByteArray &buff)
 
 void GdbEngine::readGdbStandardError()
 {
-    qWarning() << "Unexpected gdb stderr:" << m_gdbProc.readAllStandardError();
+    QByteArray err = m_gdbProc.readAllStandardError();
+    if (err == "Undefined command: \"bb\".  Try \"help\".\n")
+        return;
+    qWarning() << "Unexpected gdb stderr:" << err;
 }
 
 void GdbEngine::readGdbStandardOutput()