summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/ptrace.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-08 05:25:15 +0000
committerpeter <peter@FreeBSD.org>2001-08-08 05:25:15 +0000
commitbb5c43c4b860ad46968f5c811e6a704114915724 (patch)
tree9c1725fe17f3d99c873d801333a60db6ec49fb59 /sys/amd64/include/ptrace.h
parent185e591533d493e9aa5e937d42e40833936ae6f4 (diff)
downloadFreeBSD-src-bb5c43c4b860ad46968f5c811e6a704114915724.zip
FreeBSD-src-bb5c43c4b860ad46968f5c811e6a704114915724.tar.gz
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.
Diffstat (limited to 'sys/amd64/include/ptrace.h')
-rw-r--r--sys/amd64/include/ptrace.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/amd64/include/ptrace.h b/sys/amd64/include/ptrace.h
index d59a38f3..ea3477e 100644
--- a/sys/amd64/include/ptrace.h
+++ b/sys/amd64/include/ptrace.h
@@ -47,9 +47,4 @@
#define PT_GETDBREGS (PT_FIRSTMACH + 5)
#define PT_SETDBREGS (PT_FIRSTMACH + 6)
-#ifdef _KERNEL
-int ptrace_read_u_check __P((struct proc *p, vm_offset_t off, size_t len));
#endif
-
-#endif
-
OpenPOWER on IntegriCloud