aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/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/sparc64/include/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/sparc64/include/ptrace.h')
-rw-r--r--sys/sparc64/include/ptrace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sparc64/include/ptrace.h b/sys/sparc64/include/ptrace.h
index 8dde79ecf358..d5913a517b02 100644
--- a/sys/sparc64/include/ptrace.h
+++ b/sys/sparc64/include/ptrace.h
@@ -29,6 +29,4 @@
#ifndef _MACHINE_PTRACE_H_
#define _MACHINE_PTRACE_H_
-int ptrace_read_u_check(struct proc *p, vm_offset_t off, size_t len);
-
#endif /* !_MACHINE_PTRACE_H_ */