From 232db42069cc6da3c8e89d0a37c155ee43888a27 Mon Sep 17 00:00:00 2001
From: con <qtc-committer@nokia.com>
Date: Wed, 13 Jan 2010 11:02:10 +0100
Subject: [PATCH] Fixes: Not able to set breakpoints in running application.

Regression introduced by the gdb startup speedup.

Reviewed-by: hjk
---
 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 0e8439e515b..2aa844bd651 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1948,7 +1948,7 @@ void GdbEngine::sendInsertBreakpoint(int index)
 void GdbEngine::reloadBreakListInternal()
 {
     m_breakListUpdating = true; 
-    postCommand(_("-break-list"), CB(handleBreakList));
+    postCommand(_("-break-list"), NeedsStop, CB(handleBreakList));
 }
 
 void GdbEngine::handleBreakList(const GdbResponse &response)
-- 
GitLab