Module Name: src
Committed By: christos
Date: Mon Jul 28 08:10:23 UTC 2014
Modified Files:
src/lib/libc/sys: ptrace.2
Log Message:
PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2)
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/sys/ptrace.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/ptrace.2
diff -u src/lib/libc/sys/ptrace.2:1.35 src/lib/libc/sys/ptrace.2:1.36
--- src/lib/libc/sys/ptrace.2:1.35 Wed Aug 31 19:04:33 2011
+++ src/lib/libc/sys/ptrace.2 Mon Jul 28 04:10:23 2014
@@ -1,7 +1,7 @@
-.\" $NetBSD: ptrace.2,v 1.35 2011/08/31 23:04:33 jmcneill Exp $
+.\" $NetBSD: ptrace.2,v 1.36 2014/07/28 08:10:23 christos Exp $
.\"
.\" This file is in the public domain.
-.Dd August 31, 2011
+.Dd July 28, 2014
.Dt PTRACE 2
.Os
.Sh NAME
@@ -110,7 +110,7 @@ argument supplies the value to be writte
.\" .Fa addr
.\" argument specifies the location of the int relative to the base of the
.\" user structure; it will usually be an integer value cast to
-.\" .Li caddr_t
+.\" .Li void *
.\" either explicitly or via the presence of a prototype for
.\" .Eo \&
.\" .Fn ptrace
@@ -145,7 +145,7 @@ The traced process continues execution.
.Fa addr
is an address specifying the place where execution is to be resumed (a
new value for the program counter), or
-.Li (caddr_t)1
+.Li (void *)1
to indicate that execution is to pick up where it left off.
.Fa data
provides a signal number to be delivered to the traced process as it
@@ -588,7 +588,7 @@ Using
and
.Dv PT_SETREGS
to modify the PC, passing
-.Li (caddr_t)1
+.Li (void *)1
to
.Eo \&
.Fn ptrace