[Lldb-commits] [lldb] r139534 - /lldb/trunk/source/Commands/CommandObjectFrame.cpp

Johnny Chen johnny.chen at apple.com
Mon Sep 12 13:25:57 PDT 2011


Author: johnny
Date: Mon Sep 12 15:25:57 2011
New Revision: 139534

URL: http://llvm.org/viewvc/llvm-project?rev=139534&view=rev
Log:
Fix indentations, add some comments.

Modified:
    lldb/trunk/source/Commands/CommandObjectFrame.cpp

Modified: lldb/trunk/source/Commands/CommandObjectFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectFrame.cpp?rev=139534&r1=139533&r2=139534&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectFrame.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectFrame.cpp Mon Sep 12 15:25:57 2011
@@ -499,10 +499,10 @@
                             uint32_t expr_path_options = StackFrame::eExpressionPathOptionCheckPtrVsMember;
                             lldb::VariableSP var_sp;
                             valobj_sp = frame_sp->GetValueForVariableExpressionPath (name_cstr, 
-                                                                                          m_varobj_options.use_dynamic, 
-                                                                                          expr_path_options,
-                                                                                          var_sp,
-                                                                                          error);
+                                                                                     m_varobj_options.use_dynamic, 
+                                                                                     expr_path_options,
+                                                                                     var_sp,
+                                                                                     error);
                             if (valobj_sp)
                             {
                                 if (m_option_variable.format != eFormatDefault)
@@ -530,7 +530,7 @@
                         }
                     }
                 }
-                else
+                else // No command arg specified.  Use variable_list, instead.
                 {
                     const uint32_t num_variables = variable_list->GetSize();
         





More information about the lldb-commits mailing list