commit | c2d977329c4a33e8fd4226b5585c8d744f55f772 | [log] [tgz] |
---|---|---|
author | Jeremy Apthorp <jeremya@chromium.org> | Wed Mar 06 00:05:42 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 06 00:05:42 2019 |
tree | 8afe857c1a6e19ca5cea819196cb81039bdb0b90 | |
parent | ff71f09216f0d6530425c4f037e42ed2e05ed64e [diff] |
fix backup includes for PTRACE_GET_THREAD_AREA on arm/arm64 <asm/ptrace-abi.h> doesn't exist in the arm sysroots, and <sys/ptrace.h> defines PTRACE_GET_THREAD_AREA as an enum, not a #define: /* Get the thread pointer of a process. */ PTRACE_GET_THREAD_AREA = 22, On aarch64, neither PT_GET_THREAD_AREA nor PTRACE_GET_THREAD_AREA are defined. This changes the include trigger to check for !arm && !aarch64 as well as defined(PTRACE_GET_THREAD_AREA) to catch the arm and aarch64 cases. Change-Id: I9044d9f315cbb15011f397a06d03d4bec7396985 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1496448 Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/master@{#637905}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .