projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4c94d
)
Clear alias argument vector for 'p' alias.
author
Chaoren Lin
<chaorenl@google.com>
Fri, 26 Feb 2016 03:36:27 +0000
(
03:36
+0000)
committer
Chaoren Lin
<chaorenl@google.com>
Fri, 26 Feb 2016 03:36:27 +0000
(
03:36
+0000)
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
lldb/source/Interpreter/CommandInterpreter.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Interpreter/CommandInterpreter.cpp
b/lldb/source/Interpreter/CommandInterpreter.cpp
index
20fe467
..
5de6177
100644
(file)
--- 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)
{