diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 50a2810fddb517f1daa5cd9506e11ded136e1d2a..9423080de18cfc992ec077e20d29bcb08d376f34 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1894,18 +1894,16 @@ void GdbEngine::sendInsertBreakpoint(int index)
     QString cmd = _("-break-insert ");
     //if (!data->condition.isEmpty())
     //    cmd += "-c " + data->condition + " ";
-    cmd += where;
 #elif defined(Q_OS_MAC)
     QString cmd = _("-break-insert -l -1 ");
     //if (!data->condition.isEmpty())
     //    cmd += "-c " + data->condition + " ";
-    cmd += where;
 #else
     QString cmd = _("-break-insert -f ");
     //if (!data->condition.isEmpty())
     //    cmd += _("-c ") + data->condition + ' ';
-    cmd += where;
 #endif
+    cmd += where;
     emit gdbOutputAvailable(LogStatus, _("Current state: %1").arg(q->status()));
     postCommand(cmd, NeedsStop, CB(handleBreakInsert), index);
 }