well, seems PT_READ_D = PTRACE_PEEKDATA PT_WRITE_D = PTRACE_POKEDATA
PTRACE_PEEKUSRReads a word at offset *addr* in the child's *USER* area, which holds the registers and other information about the process (see <linux/user.h> and <sys/user.h <http://linux.die.net/include/sys/user.h>>). from man 2 ptrace: PT_READ_D - read from data space PT_READ_I - read from instruction space If in obsd does not have separate text and data address spaces, this requests are identical. is there really PT_READ_D = PT_PEEKUSER ? Don't feel shy to throw faqs and rtfms. 2009/11/16 Ted Unangst <[email protected]> > PT_READ_D, PT_WRITE_D? > > On Sun, Nov 15, 2009 at 10:16 PM, Andrej Elizarov <[email protected]> > wrote: > > Hi all. > > > > I'm trying to port new "Google Go" language, sadly some parts works only > for > > linux or darwin. > > Is there analog to linux's PTRACE_PEEKUSER and others in subj? > > > > Is there some FAQ with ptrace calling porting?

