xref: /csrg-svn/lib/libc/hp300/sys/ptrace.s (revision 62566)
141851Sbostic/*-
2*62566Sbostic * Copyright (c) 1990, 1993
3*62566Sbostic *	The Regents of the University of California.  All rights reserved.
441851Sbostic *
541851Sbostic * This code is derived from software contributed to Berkeley by
641851Sbostic * the Systems Programming Group of the University of Utah Computer
741851Sbostic * Science Department.
841851Sbostic *
941851Sbostic * %sccs.include.redist.c%
1041851Sbostic */
1141851Sbostic
1241851Sbostic#if defined(LIBC_SCCS) && !defined(lint)
13*62566Sbostic	.asciz "@(#)ptrace.s	8.1 (Berkeley) 06/07/93"
1441851Sbostic#endif /* LIBC_SCCS and not lint */
1541851Sbostic
1641851Sbostic#include "SYS.h"
1741851Sbostic
1841851SbosticENTRY(ptrace)
1941851Sbostic	clrl	_errno
2041851Sbostic	movl	#SYS_ptrace,d0
2141851Sbostic	trap	#0
2241851Sbostic	jcs	err
2341851Sbostic	rts
2441851Sbosticerr:
2541851Sbostic	jmp	cerror
26