From 63f3b2feb606aecb9aaeecf6d8ed326cb019201b Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Mon, 5 Mar 2012 17:23:53 +0100
Subject: [PATCH] debugger: compile fix after d48136f312

Change-Id: Ibd7c9cafd4b16278e1db19155b285dd0ad2436cc
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/gdb/gdbengine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 8587802379f..daad05aa2ba 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1023,7 +1023,7 @@ void GdbEngine::handleResultRecord(GdbResponse *response)
                 QTC_CHECK(state() == InferiorRunOk);
                 notifyInferiorSpontaneousStop();
                 notifyEngineIll();
-            } else if (msg == _("Remote connection closed")) {
+            } else if (msg.startsWith("Remote connection closed")) {
                 // Can happen when the target exits (gdbserver)
                 notifyInferiorExited();
             } else {
-- 
GitLab