diff options
author | Greg Clayton <gclayton@apple.com> | 2010-09-16 17:09:23 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-09-16 17:09:23 +0000 |
commit | f94bddcc828b68b0386928cc87315850c6ae6ed2 (patch) | |
tree | 9eed465f21f5c0eb8b1ca2a22410a5bb63464585 /lldb/source/Interpreter | |
parent | f7f433200be47ca1db6ebdcd93404cae875b9a38 (diff) | |
download | bcm5719-llvm-f94bddcc828b68b0386928cc87315850c6ae6ed2.tar.gz bcm5719-llvm-f94bddcc828b68b0386928cc87315850c6ae6ed2.zip |
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"
llvm-svn: 114092
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index d9cdbc724e9..85622069236 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -86,7 +86,7 @@ CommandInterpreter::Initialize () 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 @@ CommandInterpreter::Initialize () 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 * |