Add "di" and "dis" aliases to "disassemble" so they will win over "display".
llvm-svn: 142834
This commit is contained in:
parent
c10312cea2
commit
7e18e42235
|
@ -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)
|
||||
|
|
|
@ -131,7 +131,7 @@ class AbbreviationsTestCase(TestBase):
|
|||
|
||||
# ARCH, if not specified, defaults to x86_64.
|
||||
if self.getArchitecture() in ["", 'x86_64', 'i386']:
|
||||
self.expect("disass -f",
|
||||
self.expect("dis -f",
|
||||
startstr = "a.out`sum(int, int)",
|
||||
substrs = [' push',
|
||||
' mov',
|
||||
|
|
Loading…
Reference in New Issue