From owner-svn-src-all@freebsd.org Wed Jun 6 13:25:23 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C0DFFF60DB; Wed, 6 Jun 2018 13:25:23 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8C9A742B6; Wed, 6 Jun 2018 13:25:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (unknown [137.122.64.159]) by mail.baldwin.cx (Postfix) with ESMTPSA id 54E4C10A87D; Wed, 6 Jun 2018 09:25:22 -0400 (EDT) Subject: Re: svn commit: r334089 - head/sbin/dumpon To: Eitan Adler References: <201805231045.w4NAjWsv059104@repo.freebsd.org> <2256597.yrYJmMiYOr@ralph.baldwin.cx> Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org From: John Baldwin Message-ID: <328b6f24-ffeb-4d16-c3da-d6673b495bcf@FreeBSD.org> Date: Wed, 6 Jun 2018 09:25:21 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Wed, 06 Jun 2018 09:25:22 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 13:25:23 -0000 On 6/6/18 3:34 AM, Eitan Adler wrote: > On 23 May 2018 at 09:30, John Baldwin 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