Viewing pointer addresses...

Malcolm Kay malcolm.kay at internode.on.net
Thu Apr 8 22:44:56 PDT 2004


On Friday 09 April 2004 13:55, Jamie wrote:
>     I'm running FreeBSD 4.9REL. Is there a way to find the current value
> 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



More information about the freebsd-questions mailing list