From b7bc561ac2c2c24d29a6e992064e99a2948a123c Mon Sep 17 00:00:00 2001 From: Ilia K Date: Thu, 19 Feb 2015 15:14:17 +0000 Subject: Add -stack-info-frame command (MI) Summary: Add -stack-info-frame command + test. All tests pass on OS X. Reviewers: emaste, clayborg, abidh Reviewed By: abidh Subscribers: lldb-commits, clayborg, emaste, abidh Differential Revision: http://reviews.llvm.org/D7750 llvm-svn: 229857 --- lldb/tools/lldb-mi/MICmdCmdStack.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'lldb/tools/lldb-mi/MICmdCmdStack.h') diff --git a/lldb/tools/lldb-mi/MICmdCmdStack.h b/lldb/tools/lldb-mi/MICmdCmdStack.h index ebef7e197f5..ec90481300e 100644 --- a/lldb/tools/lldb-mi/MICmdCmdStack.h +++ b/lldb/tools/lldb-mi/MICmdCmdStack.h @@ -11,6 +11,7 @@ // File: MICmdCmdStack.h // // Overview: CMICmdCmdStackInfoDepth interface. +// CMICmdCmdStackInfoFrame interface. // CMICmdCmdStackListFrames interface. // CMICmdCmdStackListArguments interface. // CMICmdCmdStackListLocals interface. @@ -36,6 +37,7 @@ // In-house headers: #include "MICmdBase.h" #include "MICmnMIValueList.h" +#include "MICmnMIValueTuple.h" //++ ============================================================================ // Details: MI command class. MI commands derived from the command base class. @@ -71,6 +73,35 @@ class CMICmdCmdStackInfoDepth : public CMICmdBase const CMIUtilString m_constStrArgMaxDepth; // Not handled by *this command }; +//++ ============================================================================ +// Details: MI command class. MI commands derived from the command base class. +// *this class implements MI command "stack-info-frame". +//-- +class CMICmdCmdStackInfoFrame : public CMICmdBase +{ + // Statics: + public: + // Required by the CMICmdFactory when registering *this command + static CMICmdBase *CreateSelf(void); + + // Methods: + public: + /* ctor */ CMICmdCmdStackInfoFrame(void); + + // Overridden: + public: + // From CMICmdInvoker::ICmd + virtual bool Execute(void); + virtual bool Acknowledge(void); + virtual bool ParseArgs(void); + // From CMICmnBase + /* dtor */ virtual ~CMICmdCmdStackInfoFrame(void); + + // Attributes: + private: + CMICmnMIValueTuple m_miValueTuple; +}; + //++ ============================================================================ // Details: MI command class. MI commands derived from the command base class. // *this class implements MI command "stack-list-frames". -- cgit v1.2.3