summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2016-01-12 10:41:43 +0000
committerTamas Berghammer <tberghammer@google.com>2016-01-12 10:41:43 +0000
commit239132f452ee096d2701d7039fd148600aa37478 (patch)
tree679d87470bd5eab5ecdbf6400b77f1bcb15011f6 /lldb
parent5797c55f07255eb95710917f94e6bcf4dcac711f (diff)
downloadbcm5719-llvm-239132f452ee096d2701d7039fd148600aa37478.tar.gz
bcm5719-llvm-239132f452ee096d2701d7039fd148600aa37478.zip
Try to fix the mips64 build after rL257447
llvm-svn: 257469
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
index c4880017765..54d6f721c9d 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*)&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;
OpenPOWER on IntegriCloud