From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 22:44:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDEEE16A4CE for ; Thu, 8 Apr 2004 22:44:55 -0700 (PDT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 154BE43D4C for ; Thu, 8 Apr 2004 22:44:54 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp38-176.lns1.adl1.internode.on.net [150.101.38.176])i395iovM011285; Fri, 9 Apr 2004 15:14:50 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: at home To: Jamie , freebsd-questions@freebsd.org Date: Fri, 9 Apr 2004 15:14:49 +0930 User-Agent: KMail/1.4.3 References: <20040408232254.E78908@floyd.gnulife.org> In-Reply-To: <20040408232254.E78908@floyd.gnulife.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200404091513.18455.malcolm.kay@internode.on.net> Subject: Re: Viewing pointer addresses... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 05:44:56 -0000 On Friday 09 April 2004 13:55, Jamie wrote: > I'm running FreeBSD 4.9REL. Is there a way to find the current valu= e > of the stack and instruction pointers of a running process with ps or > something similiar? Take a look at procfs(5). In particular /proc/PID/regs which gives the content (in binary) of 19 registers from process PID. Malcolm