Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2004 15:14:49 +0930
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        Jamie <jamie@gnulife.org>, freebsd-questions@freebsd.org
Subject:   Re: Viewing pointer addresses...
Message-ID:  <200404091513.18455.malcolm.kay@internode.on.net>
In-Reply-To: <20040408232254.E78908@floyd.gnulife.org>
References:  <20040408232254.E78908@floyd.gnulife.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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