[Lldb-commits] [PATCH] D17634: Clear alias argument vector for 'p' alias.
Chaoren Lin via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 25 19:40:12 PST 2016
chaoren created this revision.
chaoren added a reviewer: jingham.
chaoren added a subscriber: lldb-commits.
This fixes the 'p' command which should be aliased to 'expresion --'.
http://reviews.llvm.org/D17634
Files:
source/Interpreter/CommandInterpreter.cpp
Index: source/Interpreter/CommandInterpreter.cpp
===================================================================
--- source/Interpreter/CommandInterpreter.cpp
+++ source/Interpreter/CommandInterpreter.cpp
@@ -337,6 +337,8 @@
AddAlias ("image", cmd_obj_sp);
+ alias_arguments_vector_sp.reset(new OptionArgVector);
+
cmd_obj_sp = GetCommandSPExact ("expression", false);
if (cmd_obj_sp)
{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17634.49147.patch
Type: text/x-patch
Size: 430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160226/7befa270/attachment.bin>
More information about the lldb-commits
mailing list