Try to fix the mips64 build after rL257447

llvm-svn: 257469
This commit is contained in:
Tamas Berghammer 2016-01-12 10:41:43 +00:00
parent 5797c55f07
commit 239132f452
1 changed files with 1 additions and 1 deletions

View File

@ -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*)&regs) + offset + 4 * (arch.GetMachine() == llvm::Triple::mips;
void* target_address = ((uint8_t*)&regs) + 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;