summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2016-02-26 03:36:27 +0000
committerChaoren Lin <chaorenl@google.com>2016-02-26 03:36:27 +0000
commit6fc5c7f1f5f90b429975b9fdb4b35bd0ebc277d0 (patch)
treec05acacafa1b3b2b5ab6370882f62b312f1b0917 /lldb/source/Interpreter/CommandInterpreter.cpp
parent7a4c94d3a71160d24a335c9b53bc3689e3153ee8 (diff)
downloadbcm5719-llvm-6fc5c7f1f5f90b429975b9fdb4b35bd0ebc277d0.tar.gz
bcm5719-llvm-6fc5c7f1f5f90b429975b9fdb4b35bd0ebc277d0.zip
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 llvm-svn: 261969
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 20fe467800a..5de6177f00c 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -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)
{
OpenPOWER on IntegriCloud