Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88318e37 authored by Christopher Ferris's avatar Christopher Ferris Committed by Gerrit Code Review
Browse files

Merge "Skip guest register getting on arm32." into main

parents 9f697c7a d5b10fc9
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -451,10 +451,8 @@ static bool GetGuestRegistersFromCrashedProcess(pid_t tid, NativeBridgeGuestRegs
    return false;
  }
#elif defined(__arm__)
  if (ptrace(PTRACE_GET_THREAD_AREA, tid, nullptr, &base) == 0) {
    PLOG(ERROR) << "failed to get thread area for thread " << tid;
  // Arm doesn't support any guest architectures yet.
  return false;
  }
#elif defined(__i386__)
  struct user_regs_struct regs;
  struct iovec pt_iov = {.iov_base = &regs, .iov_len = sizeof(regs)};