From f442fd6e55d9367c639b6b7c545e6bd76c68ac06 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Fri, 3 Apr 2009 15:48:34 +0200
Subject: [PATCH] debugger: do not duplicate the line when pressing Ctrl-Return
 in the left gdb pane.

This is more convienient when repeating a series of commands.
---
 src/plugins/debugger/gdbengine.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp
index e6717fcbc00..f1fea3104eb 100644
--- a/src/plugins/debugger/gdbengine.cpp
+++ b/src/plugins/debugger/gdbengine.cpp
@@ -857,7 +857,6 @@ void GdbEngine::handleResult(const GdbResultRecord & record, int type,
 
 void GdbEngine::executeDebuggerCommand(const QString &command)
 {
-    //createGdbProcessIfNeeded();
     if (m_gdbProc.state() == QProcess::NotRunning) {
         debugMessage("NO GDB PROCESS RUNNING, PLAIN CMD IGNORED: " + command);
         return;
@@ -867,7 +866,6 @@ void GdbEngine::executeDebuggerCommand(const QString &command)
     cmd.command = command;
     cmd.type = -1;
 
-    emit gdbInputAvailable(QString(), cmd.command);
     m_gdbProc.write(cmd.command.toLatin1() + "\r\n");
 }
 
-- 
GitLab