From 385b0d121835c180e7ae4acc8813392585a074bd Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 6 Apr 2016 18:08:52 +0200 Subject: [PATCH] Debugger: Update breakpoint pending state with LLDB properly A breakpoint with known locations is not pending. Change-Id: I4da7b60b6771bbea40ce74d44518c26e6214ba6c Reviewed-by: Eike Ziller --- src/plugins/debugger/lldb/lldbengine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/lldb/lldbengine.cpp b/src/plugins/debugger/lldb/lldbengine.cpp index f818c83e298..1657ab5bd2a 100644 --- a/src/plugins/debugger/lldb/lldbengine.cpp +++ b/src/plugins/debugger/lldb/lldbengine.cpp @@ -638,10 +638,12 @@ void LldbEngine::updateBreakpointData(Breakpoint bp, const GdbMi &bkpt, bool add sub.lineNumber = location["line"].toInt(); bp.insertSubBreakpoint(sub); } + response.pending = false; } else if (numChild == 1) { const GdbMi location = locations.childAt(0); response.address = location["addr"].toAddress(); response.functionName = location["func"].toUtf8(); + response.pending = false; } else { // This can happen for pending breakpoints. showMessage(_("NO LOCATIONS (YET) FOR BP %1").arg(response.toString()));