On Tue, Aug 30, 2016 at 12:50:33AM +0100, James Clarke wrote:
> SPARC has a different PTRACE_DETACH value correctly defined in sys/ptrace.h,
> but linux/ptrace.h clobbers it with the standard one. PTRACE_SUNDETACH is
> also defined to the correct value by sys/ptrace.h, so use that instead.
> 
> * pthread.h [SPARC || SPARC64]: Define PTRACE_DETACH as PTRACE_SUNDETACH.
> * strace.c (detach) [SPARC]: Remove PTRACE_DETACH definition and use the
> one from pthread.h.

Applied, thanks.


-- 
ldv

Attachment: pgpY2iK4HAV1U.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to