add definitions for ATTACH and DETACH;
authorChris Torek <torek@ucbvax.Berkeley.EDU>
Thu, 6 Feb 1992 11:52:50 +0000 (03:52 -0800)
committerChris Torek <torek@ucbvax.Berkeley.EDU>
Thu, 6 Feb 1992 11:52:50 +0000 (03:52 -0800)
make provision for machine specific ptrace commands

SCCS-vsn: sys/sys/ptrace.h 7.5

usr/src/sys/sys/ptrace.h

index 6b79538..f5dacbd 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)ptrace.h    7.4 (Berkeley) %G%
+ *     @(#)ptrace.h    7.5 (Berkeley) %G%
  */
 
 #ifndef        _PTRACE_H_
  */
 
 #ifndef        _PTRACE_H_
 #define        PT_CONTINUE     7       /* continue the child */
 #define        PT_KILL         8       /* kill the child process */
 #define        PT_STEP         9       /* single step the child */
 #define        PT_CONTINUE     7       /* continue the child */
 #define        PT_KILL         8       /* kill the child process */
 #define        PT_STEP         9       /* single step the child */
+#define        PT_ATTACH       10      /* trace some running process */
+#define        PT_DETACH       11      /* stop tracing a process */
+
+#define        PT_FIRSTMACH    32      /* for machine-specific requests */
+#include <machine/ptrace.h>    /* machine-specific requests, if any */
 
 #ifndef KERNEL
 
 
 #ifndef KERNEL