From 9aaa953245273ab1e5538d036485a32b6c8c4d22 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Tue, 13 Oct 2009 09:53:15 +0200
Subject: [PATCH] reorder instructions for readability

---
 src/plugins/debugger/gdb/gdbengine.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 09e41b00a7d..1147d6ae11d 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4187,10 +4187,11 @@ void GdbEngine::handleInferiorPrepared()
     }
 
     // Initial attempt to set breakpoints
-    QTC_ASSERT(m_commandsDoneCallback == 0, /**/);
     showStatusMessage(tr("Setting breakpoints..."));
-    m_commandsDoneCallback = &GdbEngine::startInferior;
     attemptBreakpointSynchronization();
+
+    QTC_ASSERT(m_commandsDoneCallback == 0, /**/);
+    m_commandsDoneCallback = &GdbEngine::startInferior;
 }
 
 void GdbEngine::startInferior()
-- 
GitLab