[Lldb-commits] [lldb] r282271 - Try again to match the logic of the code before re-writing.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 23 11:13:19 PDT 2016


Author: zturner
Date: Fri Sep 23 13:13:18 2016
New Revision: 282271

URL: http://llvm.org/viewvc/llvm-project?rev=282271&view=rev
Log:
Try again to match the logic of the code before re-writing.

Modified:
    lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp

Modified: lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp?rev=282271&r1=282270&r2=282271&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp Fri Sep 23 13:13:18 2016
@@ -138,7 +138,7 @@ Error OptionGroupValueObjectDisplay::Set
     if (option_arg.empty())
       no_summary_depth = 1;
     else if (option_arg.getAsInteger(0, no_summary_depth)) {
-      no_summary_depth = 1;
+      no_summary_depth = 0;
       error.SetErrorStringWithFormat("invalid pointer depth '%s'",
                                      option_arg.str().c_str());
     }




More information about the lldb-commits mailing list