aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-08-07 10:32:47 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-08-07 10:32:47 +0200
commita5320f3ce2cfe8633a32730c3323238cbf673440 (patch)
tree1e682cd713af8f798621c374a56c8e6b85e6ce0b /libsanitizer
parentf5b328d9648e09bd305255d1029b9a22cc598ccb (diff)
downloadgcc-a5320f3ce2cfe8633a32730c3323238cbf673440.zip
gcc-a5320f3ce2cfe8633a32730c3323238cbf673440.tar.gz
gcc-a5320f3ce2cfe8633a32730c3323238cbf673440.tar.bz2
* include/system/sys/ptrace.h: New file.
From-SVN: r250910
Diffstat (limited to 'libsanitizer')
-rw-r--r--libsanitizer/ChangeLog4
-rw-r--r--libsanitizer/include/system/sys/ptrace.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog
index 75c9f0c..5c20f7d 100644
--- a/libsanitizer/ChangeLog
+++ b/libsanitizer/ChangeLog
@@ -1,3 +1,7 @@
+2017-08-07 Jakub Jelinek <jakub@redhat.com>
+
+ * include/system/sys/ptrace.h: New file.
+
2017-07-28 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/80998
diff --git a/libsanitizer/include/system/sys/ptrace.h b/libsanitizer/include/system/sys/ptrace.h
new file mode 100644
index 0000000..1cfe4ce
--- /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