Made "call" another alias for "expression --",

for people used to the GDB command.

<rdar://problem/12052072>

llvm-svn: 161466
This commit is contained in:
Sean Callanan 2012-08-08 01:30:34 +00:00
parent e795f1bf2f
commit 316d5e4e9a
1 changed files with 2 additions and 0 deletions

View File

@ -231,8 +231,10 @@ CommandInterpreter::Initialize ()
ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp);
AddAlias ("p", cmd_obj_sp);
AddAlias ("print", cmd_obj_sp);
AddAlias ("call", cmd_obj_sp);
AddOrReplaceAliasOptions ("p", alias_arguments_vector_sp);
AddOrReplaceAliasOptions ("print", alias_arguments_vector_sp);
AddOrReplaceAliasOptions ("call", alias_arguments_vector_sp);
alias_arguments_vector_sp.reset (new OptionArgVector);
ProcessAliasOptionsArgs (cmd_obj_sp, "-o --", alias_arguments_vector_sp);