diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-04-29 08:18:41 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-04-29 08:18:41 +0000 |
commit | fda237d09fbe88371e1255acef92fe451201bedc (patch) | |
tree | ac862707691be727941d789406f5970670237b90 /lldb/tools/lldb-mi/MICmdCommands.cpp | |
parent | 119998dbf14f97fdc4d52fdb4bd182f9fc0d9bb4 (diff) | |
download | bcm5719-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.cpp | 1 |
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>(); |