[Lldb-commits] [lldb] r142707 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Jason Molenda jmolenda at apple.com
Fri Oct 21 17:47:42 PDT 2011


Author: jmolenda
Date: Fri Oct 21 19:47:41 2011
New Revision: 142707

URL: http://llvm.org/viewvc/llvm-project?rev=142707&view=rev
Log:
Add "stepi" as an alias for thread step-inst in addition to "si".
Add "nexti" an "ni" as aliases for thread step-inst-over.

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=142707&r1=142706&r2=142707&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Fri Oct 21 19:47:41 2011
@@ -122,7 +122,17 @@
 
     cmd_obj_sp = GetCommandSPExact ("thread step-inst", false);
     if (cmd_obj_sp)
+    {
+        AddAlias ("stepi", cmd_obj_sp);
         AddAlias ("si", cmd_obj_sp);
+    }
+
+    cmd_obj_sp = GetCommandSPExact ("thread step-inst-over", false);
+    if (cmd_obj_sp)
+    {
+        AddAlias ("nexti", cmd_obj_sp);
+        AddAlias ("ni", cmd_obj_sp);
+    }
 
     cmd_obj_sp = GetCommandSPExact ("thread step-in", false);
     if (cmd_obj_sp)





More information about the lldb-commits mailing list