dumpon: point to better kernel debug symbols.

The objdir is temporary, and the current example points to GENERIC.
Instead point to the installed location of the debug symbols that are
supposed to match the kernel you are using.

PR:		223993
Submitted by:	Trond.Endrestol@ximalas.info
This commit is contained in:
Eitan Adler 2018-05-23 10:45:32 +00:00
parent 91d68affb0
commit 6d6e62dcc3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334089

View file

@ -311,11 +311,11 @@ The
can be now examined using
.Xr kgdb 1 :
.Pp
.Dl # kgdb /usr/obj/sys/GENERIC/kernel.debug vmcore.#
.Dl # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.#
.Pp
or shorter:
.Pp
.Dl # kgdb -n # /usr/obj/sys/GENERIC/kernel.debug
.Dl # kgdb -n # /usr/lib/debug/boot/kernel/kernel.debug
.Pp
The core was decrypted properly if
.Xr kgdb 1