[Lldb-commits] [lldb] r261969 - Clear alias argument vector for 'p' alias.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 26 09:23:27 PST 2016


Ah, thanks, I missed that!

Jim

> On Feb 25, 2016, at 7:36 PM, Chaoren Lin via lldb-commits <lldb-commits at lists.llvm.org> wrote:
> 
> Author: chaoren
> Date: Thu Feb 25 21:36:27 2016
> New Revision: 261969
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=261969&view=rev
> Log:
> Clear alias argument vector for 'p' alias.
> 
> Summary: This fixes the 'p' command which should be aliased to 'expresion --'.
> 
> Reviewers: jingham
> 
> Subscribers: lldb-commits
> 
> Differential Revision: http://reviews.llvm.org/D17634
> 
> Modified:
>    lldb/trunk/source/Interpreter/CommandInterpreter.cpp
> 
> Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=261969&r1=261968&r2=261969&view=diff
> ==============================================================================
> --- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
> +++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Thu Feb 25 21:36:27 2016
> @@ -337,6 +337,8 @@ CommandInterpreter::Initialize ()
>         AddAlias ("image", cmd_obj_sp);
> 
> 
> +    alias_arguments_vector_sp.reset(new OptionArgVector);
> +
>     cmd_obj_sp = GetCommandSPExact ("expression", false);
>     if (cmd_obj_sp)
>     {        
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits



More information about the lldb-commits mailing list