[Lldb-commits] [lldb] r344397 - Add "v" as well as "var" as an alias for "frame var".
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 12 11:46:02 PDT 2018
Author: jingham
Date: Fri Oct 12 11:46:02 2018
New Revision: 344397
URL: http://llvm.org/viewvc/llvm-project?rev=344397&view=rev
Log:
Add "v" as well as "var" as an alias for "frame var".
<rdar://problem/40066460>
Modified:
lldb/trunk/source/Interpreter/CommandInterpreter.cpp
Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=344397&r1=344396&r2=344397&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Fri Oct 12 11:46:02 2018
@@ -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");
}
More information about the lldb-commits
mailing list