[Lldb-commits] [lldb] r189827 - Set the byte order for data in the GDB remote register context.
Greg Clayton
gclayton at apple.com
Tue Sep 3 09:36:52 PDT 2013
Author: gclayton
Date: Tue Sep 3 11:36:52 2013
New Revision: 189827
URL: http://llvm.org/viewvc/llvm-project?rev=189827&view=rev
Log:
Set the byte order for data in the GDB remote register context.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp?rev=189827&r1=189826&r2=189827&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp Tue Sep 3 11:36:52 2013
@@ -54,7 +54,7 @@ GDBRemoteRegisterContext::GDBRemoteRegis
// Make a heap based buffer that is big enough to store all registers
DataBufferSP reg_data_sp(new DataBufferHeap (reg_info.GetRegisterDataByteSize(), 0));
m_reg_data.SetData (reg_data_sp);
-
+ m_reg_data.SetByteOrder(thread.GetProcess()->GetByteOrder());
}
//----------------------------------------------------------------------
More information about the lldb-commits
mailing list