summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2018-10-12 18:46:02 +0000
committerJim Ingham <jingham@apple.com>2018-10-12 18:46:02 +0000
commit9082c1c0c1b3951d3d0ecea3cbc378cf7f5fb55e (patch)
tree373b21dd10e2953632a975b6c040b9fce4346eed /lldb/source/Interpreter/CommandInterpreter.cpp
parent0f3a56c85035ac2c1021f5835574f110bfe8f2ec (diff)
downloadbcm5719-llvm-9082c1c0c1b3951d3d0ecea3cbc378cf7f5fb55e.tar.gz
bcm5719-llvm-9082c1c0c1b3951d3d0ecea3cbc378cf7f5fb55e.zip
Add "v" as well as "var" as an alias for "frame var".
<rdar://problem/40066460> llvm-svn: 344397
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index d5dd32b52b8..0d6a7b78b58 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -426,6 +426,7 @@ void CommandInterpreter::Initialize() {
cmd_obj_sp = GetCommandSPExact("frame variable", false);
if (cmd_obj_sp) {
+ AddAlias("v", cmd_obj_sp);
AddAlias("var", cmd_obj_sp);
AddAlias("vo", cmd_obj_sp, "--object-description");
}
OpenPOWER on IntegriCloud