diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp
index d6a8366c73568f251e754e1f84977e313e99598c..40d9eac44c265d761db3a9e80f47054d4293520a 100644
--- a/src/plugins/debugger/gdbengine.cpp
+++ b/src/plugins/debugger/gdbengine.cpp
@@ -125,7 +125,7 @@ enum GdbCommandType
     GdbExecNextI,
     GdbExecContinue,
     GdbExecFinish,
-    GdbExecJumpToLine,
+    //GdbExecJumpToLine,
     GdbExecInterrupt,
     GdbInfoShared,
     GdbInfoProc,
@@ -790,9 +790,11 @@ void GdbEngine::handleResult(const GdbResultRecord & record, int type,
         case GdbExecInterrupt:
             qq->notifyInferiorStopped();
             break;
+#if 0
         case GdbExecJumpToLine:
             handleExecJumpToLine(record);
             break;
+#endif
 #if 0
         case GdbQueryPwd:
             handleQueryPwd(record);
@@ -1076,6 +1078,7 @@ void GdbEngine::handleInfoShared(const GdbResultRecord &record)
     }
 }
 
+#if 0
 void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
 {
     // FIXME: remove this special case as soon as 'jump'
@@ -1088,7 +1091,7 @@ void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
     qq->notifyInferiorStopped();
     q->showStatusMessage(tr("Jumped. Stopped."));
     QByteArray output = record.data.findChild("logstreamoutput").data();
-    if (!output.isEmpty())
+    if (output.isEmpty())
         return;
     int idx1 = output.indexOf(' ') + 1;
     if (idx1 > 0) {
@@ -1100,6 +1103,7 @@ void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
         }
     }
 }
+#endif
 
 void GdbEngine::handleExecRunToFunction(const GdbResultRecord &record)
 {