From owner-freebsd-hackers Tue Jan 23 03:52:04 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA05817 for hackers-outgoing; Tue, 23 Jan 1996 03:52:04 -0800 (PST) Received: from ccslinux.dlsu.edu.ph (gavin@linux1.dlsu.edu.ph [165.220.8.15]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA05772 for ; Tue, 23 Jan 1996 03:51:53 -0800 (PST) Received: (from gavin@localhost) by ccslinux.dlsu.edu.ph (8.6.11/8.6.9) id TAA00207; Tue, 23 Jan 1996 19:54:53 +0800 Date: Tue, 23 Jan 1996 19:54:53 +0800 (GMT+0800) From: Gavin Chan Lim To: hackers@freebsd.org Subject: ptrace() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk I'm trying to read a RUNNING process's virtual address space. I think the only solution to this is ptrace(). I've tried using ptrace(). First I used procfs to attach to the target process. Does this mean that the target is ready for debugging? Then I tried to use ptrace(PT_READ_I...), but I keep getting the message "Device busy." What's wrong? ============================================================================== Gavin Lim Gavin@linux1.dlsu.edu.ph ==============================================================================