[Lldb-commits] [lldb] r161466 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp
Sean Callanan
scallanan at apple.com
Tue Aug 7 18:30:34 PDT 2012
Author: spyffe
Date: Tue Aug 7 20:30:34 2012
New Revision: 161466
URL: http://llvm.org/viewvc/llvm-project?rev=161466&view=rev
Log:
Made "call" another alias for "expression --",
for people used to the GDB command.
<rdar://problem/12052072>
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=161466&r1=161465&r2=161466&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Tue Aug 7 20:30:34 2012
@@ -231,8 +231,10 @@
ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp);
AddAlias ("p", cmd_obj_sp);
AddAlias ("print", cmd_obj_sp);
+ AddAlias ("call", cmd_obj_sp);
AddOrReplaceAliasOptions ("p", alias_arguments_vector_sp);
AddOrReplaceAliasOptions ("print", alias_arguments_vector_sp);
+ AddOrReplaceAliasOptions ("call", alias_arguments_vector_sp);
alias_arguments_vector_sp.reset (new OptionArgVector);
ProcessAliasOptionsArgs (cmd_obj_sp, "-o --", alias_arguments_vector_sp);
More information about the lldb-commits
mailing list