diff options
author | Greg Clayton <gclayton@apple.com> | 2012-05-18 00:04:38 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-05-18 00:04:38 +0000 |
commit | 0ca92a15b012a9d52ce433d3d42428209bc02a96 (patch) | |
tree | 70b53a3e283b4861659552838a86b5cb63d5ffa4 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 589c6eb95c38bc13530bc460f7069496ec85b6af (diff) | |
download | bcm5719-llvm-0ca92a15b012a9d52ce433d3d42428209bc02a96.tar.gz bcm5719-llvm-0ca92a15b012a9d52ce433d3d42428209bc02a96.zip |
<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
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 9c93b533b30..074ef537f47 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -244,7 +244,7 @@ CommandInterpreter::Initialize () if (cmd_obj_sp) { 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 ("run", cmd_obj_sp); AddOrReplaceAliasOptions ("r", alias_arguments_vector_sp); |