Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 1995 10:15:50 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        gavin@linux1.dlsu.edu.ph (Gavin Chan Lim)
Cc:        hackers@freebsd.org
Subject:   Re: ptrace()
Message-ID:  <199511230915.KAA26190@uriah.heep.sax.de>
In-Reply-To: <Pine.LNX.3.91.951123133345.1208B-100000@ccslinux.dlsu.edu.ph> from "Gavin Chan Lim" at Nov 23, 95 01:36:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Gavin Chan Lim wrote:
> 
>  1. What does "Attach/Detach to the process" mean?  (PT_ATTACH, PT_DETACH)>

Start/stop tracing a running process (by PID).  Dunno if this is
already working in FreeBSD.  The "normal" case is to start the traced
process under debugger control.

>  2. Does request PT_READ_I mean read the text segment?
>  3. Does request PT_READ_D mean read the data segment?

Yup.

>  4. What's the last argument (int data) of ptrace() for?

Dunno, i think it's the data to read/write from/into the process
image.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511230915.KAA26190>