From 3d6ae767a09a0abe5517c77b0bf3ee8d48389762 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 7 Feb 2014 20:42:44 +0000 Subject: [PATCH] When writing data back into a register, accept values whose size differs from the register's size. llvm-svn: 200991 --- lldb/source/Core/ValueObjectVariable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Core/ValueObjectVariable.cpp b/lldb/source/Core/ValueObjectVariable.cpp index c010c2c..2e5bb22 100644 --- a/lldb/source/Core/ValueObjectVariable.cpp +++ b/lldb/source/Core/ValueObjectVariable.cpp @@ -383,7 +383,7 @@ ValueObjectVariable::SetData (DataExtractor &data, Error &error) 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)) -- 2.7.4