summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-05-22 18:34:18 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-05-22 18:34:18 +0000
commit377c63da9ea0a3bea22dd875e5013053314a7356 (patch)
treea12bbfbf57cb0da8ca26c25c94841d8bfb965c8e /lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
parenteebd5bc6463b5944f1e2bae421be52e3f5693709 (diff)
downloadbcm5719-llvm-377c63da9ea0a3bea22dd875e5013053314a7356.tar.gz
bcm5719-llvm-377c63da9ea0a3bea22dd875e5013053314a7356.zip
Fix wrong offset of eax and friends pointed out by Greg.
rdar://problem/11487457 llvm-svn: 157272
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
index 79ac4f4612a..eb4ee95c6ed 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;
OpenPOWER on IntegriCloud