[Lldb-commits] [lldb] r141879 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp

Greg Clayton gclayton at apple.com
Thu Oct 13 11:31:02 PDT 2011


Author: gclayton
Date: Thu Oct 13 13:31:02 2011
New Revision: 141879

URL: http://llvm.org/viewvc/llvm-project?rev=141879&view=rev
Log:
Revert the change to "target variable" that was causing test suite failures.


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

Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=141879&r1=141878&r2=141879&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Thu Oct 13 13:31:02 2011
@@ -684,7 +684,7 @@
                                     valobj_sp = ValueObjectVariable::Create (exe_ctx.GetBestExecutionContextScope(), var_sp);
                                 
                                 if (valobj_sp)
-                                    DumpValueObject (s, var_sp, valobj_sp, var_sp->GetName().GetCString());
+                                    DumpValueObject (s, var_sp, valobj_sp, use_var_name ? var_sp->GetName().GetCString() : arg);
                             }
                         }
                     }





More information about the lldb-commits mailing list