blob: 0a64fee737c9aa2b6ca6bf2526ca4f877d546de7 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(__ptrace)
movq %rcx, %r10
movl $__NR_ptrace, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(__ptrace)
.hidden __ptrace