diff options
author | Jim Ingham <jingham@apple.com> | 2011-10-24 18:37:00 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-10-24 18:37:00 +0000 |
commit | 7e18e42235dc5db57f348cecda071518c8de95c2 (patch) | |
tree | 54d5f1177332cc4fb482089150470c53f2933a0e /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | c10312cea25b29cdd42895e117d14e20adfdf6df (diff) | |
download | bcm5719-llvm-7e18e42235dc5db57f348cecda071518c8de95c2.tar.gz bcm5719-llvm-7e18e42235dc5db57f348cecda071518c8de95c2.zip |
Add "di" and "dis" aliases to "disassemble" so they will win over "display".
llvm-svn: 142834
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 23c77548eae..b35098f5683 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -177,6 +177,16 @@ CommandInterpreter::Initialize () cmd_obj_sp = GetCommandSPExact ("_display", false); if (cmd_obj_sp) AddAlias ("display", cmd_obj_sp); + + cmd_obj_sp = GetCommandSPExact ("disassemble", false); + if (cmd_obj_sp) + AddAlias ("dis", cmd_obj_sp); + + cmd_obj_sp = GetCommandSPExact ("disassemble", false); + if (cmd_obj_sp) + AddAlias ("di", cmd_obj_sp); + + cmd_obj_sp = GetCommandSPExact ("_undisplay", false); if (cmd_obj_sp) |