From 239132f452ee096d2701d7039fd148600aa37478 Mon Sep 17 00:00:00 2001 From: Tamas Berghammer Date: Tue, 12 Jan 2016 10:41:43 +0000 Subject: [PATCH] Try to fix the mips64 build after rL257447 llvm-svn: 257469 --- .../Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp index c48800177655..54d6f721c9d8 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp @@ -1389,7 +1389,7 @@ NativeRegisterContextLinux_mips64::DoReadRegisterValue(uint32_t offset, 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;