Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2018 07:15:30 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r334089 - head/sbin/dumpon
Message-ID:  <201805231415.w4NEFUmR035254@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201805231045.w4NAjWsv059104@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Author: eadler
> Date: Wed May 23 10:45:32 2018
> New Revision: 334089
> URL: https://svnweb.freebsd.org/changeset/base/334089
> 
> Log:
>   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
> 
> Modified:
>   head/sbin/dumpon/dumpon.8
> 
> Modified: head/sbin/dumpon/dumpon.8
> ==============================================================================
> --- head/sbin/dumpon/dumpon.8	Wed May 23 10:39:02 2018	(r334088)
> +++ head/sbin/dumpon/dumpon.8	Wed May 23 10:45:32 2018	(r334089)
> @@ -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.#

You should of probably also included that fact that kgdb now must be invoked
/usr/libexec/kgdb, as it has been moved.

>  .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
> 
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



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