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

Greg Clayton gclayton at apple.com
Thu Sep 16 10:09:23 PDT 2010


Author: gclayton
Date: Thu Sep 16 12:09:23 2010
New Revision: 114092

URL: http://llvm.org/viewvc/llvm-project?rev=114092&view=rev
Log:
Added default more aliases to ease gdb converts:

"b" is now aliased to "regexp-break"
"p" is now aliased to "frame variable"
"print" is now aliased to "frame variable"

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=114092&r1=114091&r2=114092&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Thu Sep 16 12:09:23 2010
@@ -86,7 +86,7 @@
     result.Clear(); HandleCommand ("command alias continue process continue", false, result);
     result.Clear(); HandleCommand ("command alias expr     expression", false, result);
     result.Clear(); HandleCommand ("command alias exit     quit", false, result);
-    result.Clear(); HandleCommand ("command alias b        breakpoint", false, result);
+    result.Clear(); HandleCommand ("command alias b        regexp-break", false, result);
     result.Clear(); HandleCommand ("command alias bt       thread backtrace", false, result);
     result.Clear(); HandleCommand ("command alias si       thread step-inst", false, result);
     result.Clear(); HandleCommand ("command alias step     thread step-in", false, result);
@@ -97,6 +97,8 @@
     result.Clear(); HandleCommand ("command alias x        memory read", false, result);
     result.Clear(); HandleCommand ("command alias l        source list", false, result);
     result.Clear(); HandleCommand ("command alias list     source list", false, result);
+    result.Clear(); HandleCommand ("command alias p        frame variable", false, result);
+    result.Clear(); HandleCommand ("command alias print    frame variable", false, result);
 }
 
 const char *





More information about the lldb-commits mailing list