Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys PR/49045: Tetsuya Isaki: remove remaining caddr...



details:   https://anonhg.NetBSD.org/src/rev/b5063ff4a543
branches:  trunk
changeset: 797801:b5063ff4a543
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jul 28 08:10:23 2014 +0000

description:
PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2)

diffstat:

 lib/libc/sys/ptrace.2 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 4c46055533fc -r b5063ff4a543 lib/libc/sys/ptrace.2
--- a/lib/libc/sys/ptrace.2     Mon Jul 28 07:32:46 2014 +0000
+++ b/lib/libc/sys/ptrace.2     Mon Jul 28 08:10:23 2014 +0000
@@ -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 @@
 .\" .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 @@
 .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 @@
 and
 .Dv PT_SETREGS
 to modify the PC, passing
-.Li (caddr_t)1
+.Li (void *)1
 to
 .Eo \&
 .Fn ptrace



Home | Main Index | Thread Index | Old Index