[Lldb-commits] [lldb] r157856 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp
Sean Callanan
scallanan at apple.com
Fri Jun 1 16:29:33 PDT 2012
Author: spyffe
Date: Fri Jun 1 18:29:32 2012
New Revision: 157856
URL: http://llvm.org/viewvc/llvm-project?rev=157856&view=rev
Log:
Added "kill" as an alias for "process kill".
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=157856&r1=157855&r2=157856&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Fri Jun 1 18:29:32 2012
@@ -240,6 +240,10 @@
AddOrReplaceAliasOptions ("po", alias_arguments_vector_sp);
}
+ cmd_obj_sp = GetCommandSPExact ("process kill", false);
+ if (cmd_obj_sp)
+ AddAlias ("kill", cmd_obj_sp);
+
cmd_obj_sp = GetCommandSPExact ("process launch", false);
if (cmd_obj_sp)
{
More information about the lldb-commits
mailing list