xref: /original-bsd/sys/sys/ptrace.h (revision f052b07a)
1 /*
2  * Copyright (c) 1980, 1986 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)ptrace.h	7.1 (Berkeley) 06/04/86
7  */
8 
9 #ifndef _PTRACE_
10 #define _PTRACE_
11 
12 #define PT_TRACE_ME	0	/* child declares it's being traced */
13 #define PT_READ_I	1	/* read word in child's I space */
14 #define PT_READ_D	2	/* read word in child's D space */
15 #define PT_READ_U	3	/* read word in child's user structure */
16 #define PT_WRITE_I	4	/* write word in child's I space */
17 #define PT_WRITE_D	5	/* write word in child's D space */
18 #define PT_WRITE_U	6	/* write word in child's user structure */
19 #define PT_CONTINUE	7	/* continue the child */
20 #define PT_KILL		8	/* kill the child process */
21 #define PT_STEP		9	/* single step the child */
22 
23 #endif
24