Date: Wed, 6 Jun 2018 09:25:21 -0400 From: John Baldwin <jhb@FreeBSD.org> To: Eitan Adler <eadler@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r334089 - head/sbin/dumpon Message-ID: <328b6f24-ffeb-4d16-c3da-d6673b495bcf@FreeBSD.org> In-Reply-To: <CAF6rxgnFTUiTEGYO6D_RwYY39kKrtBB-mqj%2BL55-Xho-oGf-HA@mail.gmail.com> References: <201805231045.w4NAjWsv059104@repo.freebsd.org> <2256597.yrYJmMiYOr@ralph.baldwin.cx> <CAF6rxgnFTUiTEGYO6D_RwYY39kKrtBB-mqj%2BL55-Xho-oGf-HA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/6/18 3:34 AM, Eitan Adler wrote: > On 23 May 2018 at 09:30, John Baldwin <jhb@freebsd.org> wrote: >> On Wednesday, May 23, 2018 10:45:32 AM Eitan Adler wrote: >>> 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 > ... > > What do y'all think of something like: > > diff --git i/sbin/dumpon/dumpon.8 w/sbin/dumpon/dumpon.8 > index fd271b5..28162af 100644 > --- i/sbin/dumpon/dumpon.8 > +++ w/sbin/dumpon/dumpon.8 > @@ -311,15 +311,17 @@ The > can be now examined using > .Xr kgdb 1 : > .Pp > -.Dl # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.# > +.Dl # kgdb /boot/kernel/kernel vmcore.# > .Pp > or shorter: > .Pp > -.Dl # kgdb -n # /usr/lib/debug/boot/kernel/kernel.debug > +.Dl # kgdb -n # /boot/kernel/kernel This can just be 'kgdb -n #' kgdb uses the sysctl as the default kernel location. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?328b6f24-ffeb-4d16-c3da-d6673b495bcf>