Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 1995 13:36:09 +0800 (GMT+0800)
From:      Gavin Chan Lim <gavin@linux1.dlsu.edu.ph>
To:        hackers@freebsd.org
Subject:   Re: ptrace()
Message-ID:  <Pine.LNX.3.91.951123133345.1208B-100000@ccslinux.dlsu.edu.ph>
In-Reply-To: <Pine.LNX.3.91.951123132302.1208A-100000@ccslinux.dlsu.edu.ph>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello guys!

I've found the source codes for GDB.  I have certain questions regarding
ptrace().  I hope you can answer them. 
 
 1. What does "Attach/Detach to the process" mean?  (PT_ATTACH, PT_DETACH)>
 2. Does request PT_READ_I mean read the text segment?
 3. Does request PT_READ_D mean read the data segment?
 4. What's the last argument (int data) of ptrace() for?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.951123133345.1208B-100000>