From e89be165f01290464b331bdc6e03975c2762900c Mon Sep 17 00:00:00 2001
From: Arvid Ephraim Picciani <arvid.picciani@nokia.com>
Date: Thu, 2 Dec 2010 12:33:49 +0100
Subject: [PATCH] lldb: show disasembly if frame unusable

---
 src/plugins/debugger/lldb/ipcenginehost.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/lldb/ipcenginehost.cpp b/src/plugins/debugger/lldb/ipcenginehost.cpp
index c67f6915845..f2bd37d4070 100644
--- a/src/plugins/debugger/lldb/ipcenginehost.cpp
+++ b/src/plugins/debugger/lldb/ipcenginehost.cpp
@@ -424,7 +424,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
                 resetLocation();
                 StackHandler *sh = stackHandler();
                 sh->setCurrentIndex(token);
-                if (QFileInfo(sh->currentFrame().file).exists())
+                if (!sh->currentFrame().isUsable() || QFileInfo(sh->currentFrame().file).exists())
                     gotoLocation(sh->currentFrame(), true);
                 else
                     fetchFrameSource(token);
-- 
GitLab