summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MICmdCommands.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-04-29 08:18:41 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-04-29 08:18:41 +0000
commitfda237d09fbe88371e1255acef92fe451201bedc (patch)
treeac862707691be727941d789406f5970670237b90 /lldb/tools/lldb-mi/MICmdCommands.cpp
parent119998dbf14f97fdc4d52fdb4bd182f9fc0d9bb4 (diff)
downloadbcm5719-llvm-fda237d09fbe88371e1255acef92fe451201bedc.tar.gz
bcm5719-llvm-fda237d09fbe88371e1255acef92fe451201bedc.zip
Add support for -stack-list-variables.
This command is able to list both local variables and stack arguments for a specific thread/frame. Args are denoted with 'arg="1"'. Patch from Chuck Ries. llvm-svn: 236090
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdCommands.cpp')
-rw-r--r--lldb/tools/lldb-mi/MICmdCommands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/tools/lldb-mi/MICmdCommands.cpp b/lldb/tools/lldb-mi/MICmdCommands.cpp
index 2d8f24887a1..9afe30e8c2c 100644
--- a/lldb/tools/lldb-mi/MICmdCommands.cpp
+++ b/lldb/tools/lldb-mi/MICmdCommands.cpp
@@ -115,6 +115,7 @@ MICmnCommands::RegisterAll(void)
bOk &= Register<CMICmdCmdStackListFrames>();
bOk &= Register<CMICmdCmdStackListArguments>();
bOk &= Register<CMICmdCmdStackListLocals>();
+ bOk &= Register<CMICmdCmdStackListVariables>();
bOk &= Register<CMICmdCmdStackSelectFrame>();
bOk &= Register<CMICmdCmdSupportListFeatures>();
bOk &= Register<CMICmdCmdSymbolListLines>();
OpenPOWER on IntegriCloud