1 /* ptrace.h 4.1 84/04/11 */ 2 3 #ifndef _PTRACE_ 4 #define _PTRACE_ 5 6 #define PT_TRACE_ME 0 /* child declares it's being traced */ 7 #define PT_READ_I 1 /* read word in child's I space */ 8 #define PT_READ_D 2 /* read word in child's D space */ 9 #define PT_READ_U 3 /* read word in child's user structure */ 10 #define PT_WRITE_I 4 /* write word in child's I space */ 11 #define PT_WRITE_D 5 /* write word in child's D space */ 12 #define PT_WRITE_U 6 /* write word in child's user structure */ 13 #define PT_CONTINUE 7 /* continue the child */ 14 #define PT_KILL 8 /* kill the child process */ 15 #define PT_STEP 9 /* single step the child */ 16 17 #endif 18