diff --git a/src/plugins/debugger/gdb/coregdbadapter.cpp b/src/plugins/debugger/gdb/coregdbadapter.cpp
index 7b01c53ab971f78d52c043fa5dddd5ecac02172b..7848c9f70524e5acce02419c71b8a39e4d0d4a1c 100644
--- a/src/plugins/debugger/gdb/coregdbadapter.cpp
+++ b/src/plugins/debugger/gdb/coregdbadapter.cpp
@@ -78,7 +78,7 @@ void CoreGdbAdapter::startAdapter()
 
 #ifndef EXE_FROM_CORE
     if (m_executable.isEmpty()) {
-        showMessageBox(QMessageBox::Warning, tr("Error Loading Symbols"),
+        DebuggerEngine::showMessageBox(QMessageBox::Warning, tr("Error Loading Symbols"),
                        tr("No executable to load symbols from specified."));
     }
     m_engine->handleAdapterStarted();