Index: source/Plugins/Process/Linux/ProcessMonitor.cpp =================================================================== --- source/Plugins/Process/Linux/ProcessMonitor.cpp +++ source/Plugins/Process/Linux/ProcessMonitor.cpp @@ -764,6 +764,9 @@ const ArchSpec& arch = monitor->GetProcess().GetTarget().GetArchitecture(); switch(arch.GetMachine()) { +#if defined(__i386__) || defined(__x86_64__) + // note that struct user used below has field named i387 which is x86-specific + // therefore case below should be compiled only for PC case llvm::Triple::x86: { // Find the GS register location for our host architecture. @@ -790,6 +793,7 @@ *m_addr = tmp[1]; break; } +#endif case llvm::Triple::x86_64: // Read the FS register base. m_result = (PTRACE(PTRACE_ARCH_PRCTL, m_tid, m_addr, (void *)ARCH_GET_FS, 0) == 0);