From owner-freebsd-hackers Wed Nov 22 21:55:32 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA17646 for hackers-outgoing; Wed, 22 Nov 1995 21:55:32 -0800 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA17641 for ; Wed, 22 Nov 1995 21:55:27 -0800 Received: from ccslinux.dlsu.edu.ph (gavin@linux1.dlsu.edu.ph [165.220.8.15]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id VAA24179 for ; Wed, 22 Nov 1995 21:46:41 -0800 Received: (from gavin@localhost) by ccslinux.dlsu.edu.ph (8.6.11/8.6.9) id NAA01347; Thu, 23 Nov 1995 13:36:13 +0800 Date: Thu, 23 Nov 1995 13:36:09 +0800 (GMT+0800) From: Gavin Chan Lim To: hackers@freebsd.org Subject: Re: ptrace() In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk 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?