backport: ptrace.h: New file.

Backported from mainline
	2017-08-07  Jakub Jelinek  <jakub@redhat.com>

	* include/system/sys/ptrace.h: New file.

From-SVN: r251852
This commit is contained in:
Jakub Jelinek 2017-09-07 22:24:36 +02:00 committed by Jakub Jelinek
parent 6b6bdf1822
commit 4330b878c7
2 changed files with 14 additions and 0 deletions

View File

@ -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.

View File

@ -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