svn commit: r305012 - in head/lib/libc: amd64/sys arm/sys i386/sys include mips/sys powerpc/sys powerpc64/sys sparc64/sys sys

Bryan Drewery bdrewery at FreeBSD.org
Wed Aug 31 21:48:41 UTC 2016


On 8/29/16 11:47 AM, Konstantin Belousov wrote:
> Author: kib
> Date: Mon Aug 29 18:47:51 2016
> New Revision: 305012
> URL: https://svnweb.freebsd.org/changeset/base/305012
> 
> Log:
>   Rewrite ptrace(2) wrappers in C.
>   Besides removing hand-translation to assembler, this also adds missing
>   wrappers for arm64 and risc-v.
>   
>   Reviewed by:	emaste, jhb
>   Sponsored by:	The FreeBSD Foundation
>   MFC after:	1 week
>   Differential revision:	https://reviews.freebsd.org/D7694
> 
> Added:
>   head/lib/libc/sys/ptrace.c   (contents, props changed)
> Deleted:
>   head/lib/libc/amd64/sys/ptrace.S
>   head/lib/libc/arm/sys/ptrace.S
>   head/lib/libc/i386/sys/ptrace.S
>   head/lib/libc/mips/sys/ptrace.S
>   head/lib/libc/powerpc/sys/ptrace.S
>   head/lib/libc/powerpc64/sys/ptrace.S
>   head/lib/libc/sparc64/sys/ptrace.S

There is a known bug with "FAST_DEPEND" (which is default and the only
way now) which may result in something like:

> cc: error: no such file or directory: '/usr/src/lib/libc/amd64/sys/ptrace.S'

I am working on a fix, but in the meantime a workaround is 'make
cleandepend', or removing the .depend.ptrace.* files in the lib/libc
object directories.



-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160831/9be9d9a2/attachment.sig>


More information about the svn-src-head mailing list