diff options
Diffstat (limited to 'tools/lldb-mi/MICmdCmdStack.cpp')
-rw-r--r-- | tools/lldb-mi/MICmdCmdStack.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/lldb-mi/MICmdCmdStack.cpp b/tools/lldb-mi/MICmdCmdStack.cpp index 9160c401094a..b491027bf80e 100644 --- a/tools/lldb-mi/MICmdCmdStack.cpp +++ b/tools/lldb-mi/MICmdCmdStack.cpp @@ -32,6 +32,8 @@ #include "MICmnMIResultRecord.h" #include "MICmnMIValueConst.h" +#include <algorithm> + //++ //------------------------------------------------------------------------------------ // Details: CMICmdCmdStackInfoDepth constructor. @@ -757,7 +759,8 @@ bool CMICmdCmdStackListLocals::Execute() { : thread.GetSelectedFrame(); CMICmnMIValueList miValueList(true); - const MIuint maskVarTypes = CMICmnLLDBDebugSessionInfo::eVariableType_Locals; + const MIuint maskVarTypes = CMICmnLLDBDebugSessionInfo::eVariableType_Locals | + CMICmnLLDBDebugSessionInfo::eVariableType_InScope; if (!rSessionInfo.MIResponseFormVariableInfo(frame, maskVarTypes, eVarInfoFormat, miValueList)) return MIstatus::failure; @@ -929,7 +932,8 @@ bool CMICmdCmdStackListVariables::Execute() { CMICmnMIValueList miValueList(true); const MIuint maskVarTypes = CMICmnLLDBDebugSessionInfo::eVariableType_Arguments | - CMICmnLLDBDebugSessionInfo::eVariableType_Locals; + CMICmnLLDBDebugSessionInfo::eVariableType_Locals | + CMICmnLLDBDebugSessionInfo::eVariableType_InScope; if (!rSessionInfo.MIResponseFormVariableInfo( frame, maskVarTypes, eVarInfoFormat, miValueList, 10, true)) return MIstatus::failure; |