<rdar://problem/11405850>

The "run" and "r" aliases were for gdb compatability, so make then do what GDB does by default: launch in a shell.

For those that don't want launching with a shell by default, add the following to your ~/.lldbinit file:

command unalias run
command unalias r
command alias r process launch --
command alias run process launch --

llvm-svn: 157028
This commit is contained in:
Greg Clayton 2012-05-18 00:04:38 +00:00
parent 589c6eb95c
commit 0ca92a15b0
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ CommandInterpreter::Initialize ()
if (cmd_obj_sp) if (cmd_obj_sp)
{ {
alias_arguments_vector_sp.reset (new OptionArgVector); alias_arguments_vector_sp.reset (new OptionArgVector);
ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp); ProcessAliasOptionsArgs (cmd_obj_sp, "--shell=/bin/bash --", alias_arguments_vector_sp);
AddAlias ("r", cmd_obj_sp); AddAlias ("r", cmd_obj_sp);
AddAlias ("run", cmd_obj_sp); AddAlias ("run", cmd_obj_sp);
AddOrReplaceAliasOptions ("r", alias_arguments_vector_sp); AddOrReplaceAliasOptions ("r", alias_arguments_vector_sp);