diff options
| author | Ilia K <ki.stfu@gmail.com> | 2015-02-19 15:14:17 +0000 |
|---|---|---|
| committer | Ilia K <ki.stfu@gmail.com> | 2015-02-19 15:14:17 +0000 |
| commit | b7bc561ac2c2c24d29a6e992064e99a2948a123c (patch) | |
| tree | 60adc9006259587917ae579ac4b59d255e10ed78 /lldb/tools/lldb-mi/MICmdCmdStack.h | |
| parent | 0b395363906e729392a1c398585e760e08ea955b (diff) | |
| download | bcm5719-llvm-b7bc561ac2c2c24d29a6e992064e99a2948a123c.tar.gz bcm5719-llvm-b7bc561ac2c2c24d29a6e992064e99a2948a123c.zip | |
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
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdCmdStack.h')
| -rw-r--r-- | lldb/tools/lldb-mi/MICmdCmdStack.h | 31 |
1 files changed, 31 insertions, 0 deletions
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. @@ -73,6 +75,35 @@ class CMICmdCmdStackInfoDepth : public CMICmdBase //++ ============================================================================ // 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". // Gotchas: None. // Authors: Illya Rudkin 21/03/2014. |

