[Lldb-commits] [lldb] r278625 - elf-core: set powerpc vector byte order correctly
Ed Maste via lldb-commits
lldb-commits at lists.llvm.org
Sun Aug 14 04:30:11 PDT 2016
Author: emaste
Date: Sun Aug 14 06:30:11 2016
New Revision: 278625
URL: http://llvm.org/viewvc/llvm-project?rev=278625&view=rev
Log:
elf-core: set powerpc vector byte order correctly
It was being set to the fp reg set's byte order due to an apparent
copy-and-pasteo.
Modified:
lldb/trunk/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
Modified: lldb/trunk/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp?rev=278625&r1=278624&r2=278625&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp (original)
+++ lldb/trunk/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp Sun Aug 14 06:30:11 2016
@@ -30,7 +30,7 @@ RegisterContextCorePOSIX_powerpc::Regist
m_fpr.SetByteOrder(fpregset.GetByteOrder());
m_vec_buffer.reset(new DataBufferHeap(vregset.GetDataStart(), vregset.GetByteSize()));
m_vec.SetData(m_vec_buffer);
- m_vec.SetByteOrder(fpregset.GetByteOrder());
+ m_vec.SetByteOrder(vregset.GetByteOrder());
}
RegisterContextCorePOSIX_powerpc::~RegisterContextCorePOSIX_powerpc()
More information about the lldb-commits
mailing list