[Lldb-commits] [lldb] r141845 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp
Greg Clayton
gclayton at apple.com
Wed Oct 12 18:14:40 PDT 2011
Author: gclayton
Date: Wed Oct 12 20:14:39 2011
New Revision: 141845
URL: http://llvm.org/viewvc/llvm-project?rev=141845&view=rev
Log:
Always use the full variable name when dumping globals since they might
be in namespaces.
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=141845&r1=141844&r2=141845&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Wed Oct 12 20:14:39 2011
@@ -684,7 +684,7 @@
valobj_sp = ValueObjectVariable::Create (exe_ctx.GetBestExecutionContextScope(), var_sp);
if (valobj_sp)
- DumpValueObject (s, var_sp, valobj_sp, use_var_name ? var_sp->GetName().GetCString() : arg);
+ DumpValueObject (s, var_sp, valobj_sp, var_sp->GetName().GetCString());
}
}
}
More information about the lldb-commits
mailing list