diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-08-22 08:16:51 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-08-22 08:16:51 +0000 |
commit | 2812b90215c83b1365c41a1b4f48cb6fdc04033d (patch) | |
tree | cd646232245d7e0d0adfac206b31265097afe90c /share/man | |
parent | 0e4f9df93ce19487a968155142f06f4f00a4d0ee (diff) |
Correct stuff about ps -Opaddr
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man8/crash.8 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/share/man/man8/crash.8 b/share/man/man8/crash.8 index 1fa03817548..4948fd39a20 100644 --- a/share/man/man8/crash.8 +++ b/share/man/man8/crash.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: crash.8,v 1.12 2001/08/03 15:21:17 mpech Exp $ +.\" $OpenBSD: crash.8,v 1.13 2001/08/22 08:16:50 niklas Exp $ .\" .\" Copyright (c) 1980, 1991 The Regents of the University of California. .\" All rights reserved. @@ -246,15 +246,13 @@ Examples of use: .Pp The .Fl O Ar paddr -option gives the last 6 hexadecimal digits of the +option prints each process' .Li struct proc -pointer for each process. +address, but with the value of KERNBASE masked off. This is very useful information if you are analyzing process contexts in .Xr gdb 1 . -The preceding digits have to be guessed, but that is not very difficult; -they are the start of the kvm space and is defined by machine-dependent -sizes given in -.Pa /usr/include/$ARCH/vmparam.h . +You need to add back KERNBASE though, that value can be found in +.Pa /usr/include/$ARCH/param.h . .Pp .Bd -literal # vmstat -N /var/crash/bsd.0 -M /var/crash/bsd.0.core -m |