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());
     }


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to