[Lldb-commits] [lldb] r156223 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp
Sean Callanan
scallanan at apple.com
Fri May 4 16:15:02 PDT 2012
Author: spyffe
Date: Fri May 4 18:15:02 2012
New Revision: 156223
URL: http://llvm.org/viewvc/llvm-project?rev=156223&view=rev
Log:
Added an "attach" alias as promised on the web page.
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=156223&r1=156222&r2=156223&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Fri May 4 18:15:02 2012
@@ -113,6 +113,12 @@
AddAlias ("q", cmd_obj_sp);
AddAlias ("exit", cmd_obj_sp);
}
+
+ cmd_obj_sp = GetCommandSPExact ("process attach", false);
+ if (cmd_obj_sp)
+ {
+ AddAlias ("attach", cmd_obj_sp);
+ }
cmd_obj_sp = GetCommandSPExact ("process continue", false);
if (cmd_obj_sp)
More information about the lldb-commits
mailing list