From 377c63da9ea0a3bea22dd875e5013053314a7356 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 22 May 2012 18:34:18 +0000 Subject: [PATCH] Fix wrong offset of eax and friends pointed out by Greg. rdar://problem/11487457 llvm-svn: 157272 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp index 79ac4f4..eb4ee95 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp @@ -990,7 +990,7 @@ GDBRemoteDynamicRegisterInfo::Addx86_64ConvenienceRegisters() { // The name matches the existing primordial entry. // Find and assign the offset, and then add this composite register entry. - g_conv_register_infos[i].byte_offset = reg_info->byte_offset + 4; + g_conv_register_infos[i].byte_offset = reg_info->byte_offset; // Update the value_regs and the kinds fields in order to delegate to the primordial register. g_conv_register_infos[i].value_regs[0] = j; g_conv_register_infos[i].kinds[eRegisterKindLLDB] = ++reg_kind; -- 2.7.4