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

Greg Clayton gclayton at apple.com
Mon Feb 7 09:44:33 PST 2011


Author: gclayton
Date: Mon Feb  7 11:44:33 2011
New Revision: 125016

URL: http://llvm.org/viewvc/llvm-project?rev=125016&view=rev
Log:
Namespace patch for linux builds from Jai Menon.


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=125016&r1=125015&r2=125016&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp Mon Feb  7 11:44:33 2011
@@ -14,6 +14,7 @@
 #include "lldb/Core/DataExtractor.h"
 #include "lldb/Core/Scalar.h"
 #include "lldb/Target/Thread.h"
+#include "lldb/Host/Endian.h"
 
 #include "ProcessLinux.h"
 #include "ProcessMonitor.h"
@@ -500,7 +501,7 @@
     }
 
     if (status)
-        data.SetData(buf + GetRegOffset(reg), GetRegSize(reg), endian::InlHostByteOrder());
+        data.SetData(buf + GetRegOffset(reg), GetRegSize(reg), lldb::endian::InlHostByteOrder());
 
     return status;
 }





More information about the lldb-commits mailing list