aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-08-08 05:25:15 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-08-08 05:25:15 +0000
commit2aca0c28d39b914923402cc81a4d6b4213b3df2d (patch)
tree9c1725fe17f3d99c873d801333a60db6ec49fb59 /sys/sys/ptrace.h
parent44c76a36f8e091bc1d4130c5bd8550454db6b590 (diff)
downloadsrc-2aca0c28d39b914923402cc81a4d6b4213b3df2d.tar.gz
src-2aca0c28d39b914923402cc81a4d6b4213b3df2d.zip
Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they
are a really nasty interface that should have been killed long ago when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they operate on (struct user) will not be around much longer since it is part-per-process and part-per-thread in a post-KSE world. gdb does not actually use this except for the obscure 'info udot' command which does a hexdump of as much of the child's 'struct user' as it can get. It carries its own #defines so it doesn't break compiles.
Notes
Notes: svn path=/head/; revision=81265
Diffstat (limited to 'sys/sys/ptrace.h')
-rw-r--r--sys/sys/ptrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index dcbafc242048..71f6013d49a7 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -40,10 +40,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 */
-#define PT_READ_U 3 /* read word in child's user structure */
+/* was PT_READ_U 3 * read word in child's user structure */
#define PT_WRITE_I 4 /* write word in child's I space */
#define PT_WRITE_D 5 /* write word in child's D space */
-#define PT_WRITE_U 6 /* write word in child's user structure */
+/* was PT_WRITE_U 6 * write word in child's user structure */
#define PT_CONTINUE 7 /* continue the child */
#define PT_KILL 8 /* kill the child process */
#define PT_STEP 9 /* single step the child */