[Lldb-commits] [lldb] r124658 - /lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp

Greg Clayton gclayton at apple.com
Tue Feb 1 01:20:26 PST 2011


Author: gclayton
Date: Tue Feb  1 03:20:26 2011
New Revision: 124658

URL: http://llvm.org/viewvc/llvm-project?rev=124658&view=rev
Log:
A missed endian fix for the linux register context for x86_64.


Modified:
    lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp

Modified: lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp?rev=124658&r1=124657&r2=124658&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp Tue Feb  1 03:20:26 2011
@@ -500,7 +500,7 @@
     }
 
     if (status)
-        data.SetData(buf + GetRegOffset(reg), GetRegSize(reg), eByteOrderHost);
+        data.SetData(buf + GetRegOffset(reg), GetRegSize(reg), endian::InlHostByteOrder());
 
     return status;
 }





More information about the lldb-commits mailing list