summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-10-24 18:37:00 +0000
committerJim Ingham <jingham@apple.com>2011-10-24 18:37:00 +0000
commit7e18e42235dc5db57f348cecda071518c8de95c2 (patch)
tree54d5f1177332cc4fb482089150470c53f2933a0e /lldb/source/Interpreter/CommandInterpreter.cpp
parentc10312cea25b29cdd42895e117d14e20adfdf6df (diff)
downloadbcm5719-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.cpp10
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)
OpenPOWER on IntegriCloud