[Lldb-commits] [lldb] r257469 - Try to fix the mips64 build after rL257447
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 12 02:41:44 PST 2016
Author: tberghammer
Date: Tue Jan 12 04:41:43 2016
New Revision: 257469
URL: http://llvm.org/viewvc/llvm-project?rev=257469&view=rev
Log:
Try to fix the mips64 build after rL257447
Modified:
lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
Modified: lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp?rev=257469&r1=257468&r2=257469&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp Tue Jan 12 04:41:43 2016
@@ -1389,7 +1389,7 @@ NativeRegisterContextLinux_mips64::DoRea
lldb_private::ArchSpec arch;
if (m_thread.GetProcess()->GetArchitecture(arch))
{
- void* target_address = ((uint8_t*)®s) + offset + 4 * (arch.GetMachine() == llvm::Triple::mips;
+ void* target_address = ((uint8_t*)®s) + offset + 4 * (arch.GetMachine() == llvm::Triple::mips);
uint32_t target_size;
if ((::strcmp(reg_name, "sr") == 0) || (::strcmp(reg_name, "cause") == 0) || (::strcmp(reg_name, "config5") == 0))
target_size = 4;
More information about the lldb-commits
mailing list