Skip to content

Commit

Permalink
Clear alias argument vector for 'p' alias.
Browse files Browse the repository at this point in the history
Summary: This fixes the 'p' command which should be aliased to 'expresion --'.

Reviewers: jingham

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D17634

llvm-svn: 261969
  • Loading branch information
chaoren committed Feb 26, 2016
1 parent 7a4c94d commit 6fc5c7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lldb/source/Interpreter/CommandInterpreter.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6fc5c7f

Please sign in to comment.