diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-09-07 20:24:36 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-09-07 20:24:36 +0000 |
commit | 59b06d198f4b0fedd3d12c8737aec65de56d4347 (patch) | |
tree | 67706cfbe5225b119187e9e05300b951dfbf81e6 /libsanitizer | |
parent | b2e51764a62446dcab1b0178174666c60cdc7901 (diff) | |
download | gcc-59b06d198f4b0fedd3d12c8737aec65de56d4347.tar.gz |
Backported from mainline
2017-08-07 Jakub Jelinek <jakub@redhat.com>
* include/system/sys/ptrace.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@251852 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 7 | ||||
-rw-r--r-- | libsanitizer/include/system/sys/ptrace.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index d4c9d4b1536..7aa9d287804 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,10 @@ +2017-09-07 Jakub Jelinek <jakub@redhat.com> + + Backported from mainline + 2017-08-07 Jakub Jelinek <jakub@redhat.com> + + * include/system/sys/ptrace.h: New file. + 2017-08-14 Release Manager * GCC 7.2.0 released. diff --git a/libsanitizer/include/system/sys/ptrace.h b/libsanitizer/include/system/sys/ptrace.h new file mode 100644 index 00000000000..1cfe4ce96e0 --- /dev/null +++ b/libsanitizer/include/system/sys/ptrace.h @@ -0,0 +1,7 @@ +#include_next <sys/ptrace.h> +#ifndef PTRACE_GETREGSET +/* glibc before + https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=cbff0d9689c4d68578b6a4f0a17807232506ea27 + doesn't define PTRACE_GETREGSET. */ +#define PTRACE_GETREGSET 0x4204 +#endif |