[Lldb-commits] [lldb] r200991 - When writing data back into a register, accept
Sean Callanan
scallanan at apple.com
Fri Feb 7 12:42:44 PST 2014
Author: spyffe
Date: Fri Feb 7 14:42:44 2014
New Revision: 200991
URL: http://llvm.org/viewvc/llvm-project?rev=200991&view=rev
Log:
When writing data back into a register, accept
values whose size differs from the register's
size.
Modified:
lldb/trunk/source/Core/ValueObjectVariable.cpp
Modified: lldb/trunk/source/Core/ValueObjectVariable.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObjectVariable.cpp?rev=200991&r1=200990&r2=200991&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObjectVariable.cpp (original)
+++ lldb/trunk/source/Core/ValueObjectVariable.cpp Fri Feb 7 14:42:44 2014
@@ -383,7 +383,7 @@ ValueObjectVariable::SetData (DataExtrac
error.SetErrorString("unable to retrieve register info");
return false;
}
- error = reg_value.SetValueFromData(reg_info, data, 0, false);
+ error = reg_value.SetValueFromData(reg_info, data, 0, true);
if (error.Fail())
return false;
if (reg_ctx->WriteRegister (reg_info, reg_value))
More information about the lldb-commits
mailing list