Bug 1142944 - Don't use PTRACE_GETFPREGS when getting crash trace on Android/ARM r=ted

This commit is contained in:
James Willcox 2016-01-26 10:55:50 -06:00
parent c45ed7ab17
commit 93fdfd7359

View File

@ -186,9 +186,11 @@ bool LinuxPtraceDumper::GetThreadInfoByIndex(size_t index, ThreadInfo* info) {
return false;
}
#if !(defined(__ANDROID__) && defined(__ARM_EABI__))
if (sys_ptrace(PTRACE_GETFPREGS, tid, NULL, &info->fpregs) == -1) {
return false;
}
#endif
#if defined(__i386)
if (sys_ptrace(PTRACE_GETFPXREGS, tid, NULL, &info->fpxregs) == -1)