summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
diff options
context:
space:
mode:
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