From 960f8dc03d2ea645907bd0ff4551b8304b802e97 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Mon, 4 Jan 2010 15:35:04 +0100
Subject: [PATCH] debugger: -break-list needs a stopped state to show new
 breakpoints in the gui

---
 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 c1f14e3f806..e91587fab18 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1964,7 +1964,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