crashpad/compat
Mark Mentovai 22e8c33b21 linux: Provide PTRACE_GET_THREAD_AREA for 32-bit x86 with glibc
glibc’s own <sys/ptrace.h> should provide this but doesn’t. See
https://sourceware.org/bugzilla/show_bug.cgi?id=22433.

The copy in compat provided it when targeting x86-64 and using glibc.
util/linux/ptracer.cc uses it when targeting both 32-bit x86 and x86-64,
so the compat definition must be made to apply to 32-bit x86 too.

This also provides a #define using the same name as the constant, which
is what glibc’s <sys/ptrace.h> does for other constants.

Bug: crashpad:30
Change-Id: I5a0734a236d1c25398fb69e66f58dfe118658b68
Reviewed-on: https://chromium-review.googlesource.com/765257
Commit-Queue: Mark Mentovai <mark@chromium.org>
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
2017-11-13 22:36:45 +00:00
..
android android: Support mmap() with large file offsets and API < 21 2017-10-06 21:07:47 +00:00
linux linux: Provide PTRACE_GET_THREAD_AREA for 32-bit x86 with glibc 2017-11-13 22:36:45 +00:00
mac mac: Provide a larger thread state buffer for AVX-512 on 10.13 2017-06-20 14:31:38 +00:00
non_mac/mach Don’t trigger EXC_CORPSE_NOTIFY on OS X 10.11 2015-09-04 14:29:12 -04:00
non_win Fix comments identifying the source of module TimeDateStamp information 2017-05-03 21:13:05 +00:00
win win: Expect uneven symbolic link support 2017-10-26 23:01:14 +00:00
compat.gyp win: Expect uneven symbolic link support 2017-10-26 23:01:14 +00:00