]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/ptrace.h
xnu-3789.31.2.tar.gz
[apple/xnu.git] / bsd / sys / ptrace.h
index fda2515a5fa8cb9095adcf75933c4e3f63dce624..cf589929b5015b5974933e5c15863bb0d3d15e40 100644 (file)
 #include <sys/appleapiopts.h>
 #include <sys/cdefs.h>
 
+enum {
+       ePtAttachDeprecated __deprecated_enum_msg("PT_ATTACH is deprecated. See PT_ATTACHEXC") = 10
+};
+
+
 #define        PT_TRACE_ME     0       /* child declares it's being traced */
 #define        PT_READ_I       1       /* read word in child's I space */
 #define        PT_READ_D       2       /* read word in child's D space */
@@ -77,7 +82,7 @@
 #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_ATTACH       ePtAttachDeprecated     /* trace some running process */
 #define        PT_DETACH       11      /* stop tracing a process */
 #define        PT_SIGEXC       12      /* signals as exceptions for current_proc */
 #define PT_THUPDATE    13      /* signal for thread# */