From owner-svn-src-all@FreeBSD.ORG  Fri Mar 29 08:22:40 2013
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 3866686F;
 Fri, 29 Mar 2013 08:22:40 +0000 (UTC)
 (envelope-from glebius@FreeBSD.org)
Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10])
 by mx1.freebsd.org (Postfix) with ESMTP id B9495200;
 Fri, 29 Mar 2013 08:22:38 +0000 (UTC)
Received: from cell.glebius.int.ru (localhost [127.0.0.1])
 by cell.glebius.int.ru (8.14.6/8.14.6) with ESMTP id r2T8MWQi054817;
 Fri, 29 Mar 2013 12:22:32 +0400 (MSK)
 (envelope-from glebius@FreeBSD.org)
Received: (from glebius@localhost)
 by cell.glebius.int.ru (8.14.6/8.14.6/Submit) id r2T8MW2P054816;
 Fri, 29 Mar 2013 12:22:32 +0400 (MSK)
 (envelope-from glebius@FreeBSD.org)
X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to
 glebius@FreeBSD.org using -f
Date: Fri, 29 Mar 2013 12:22:32 +0400
From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Will Andrews <will@FreeBSD.org>
Subject: Re: svn commit: r248836 - head/gnu/usr.bin/gdb/kgdb
Message-ID: <20130329082232.GE76816@FreeBSD.org>
References: <201303281704.r2SH4x3J025620@svn.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <201303281704.r2SH4x3J025620@svn.freebsd.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org,
 src-committers@freebsd.org
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Mar 2013 08:22:40 -0000

On Thu, Mar 28, 2013 at 05:04:59PM +0000, Will Andrews wrote:
W> Author: will
W> Date: Thu Mar 28 17:04:59 2013
W> New Revision: 248836
W> URL: http://svnweb.freebsd.org/changeset/base/248836
W> 
W> Log:
W>   KGDB: Allow modules to be loaded from the specified kernel's directory.
W>   
W>   When looking up the absolute path for a kld, call find_kld_path() first.
W>   This enables locating the module in a different directory than the one
W>   stored in kernel memory.
W>   
W>   With this change, kgdb can now be run on a kernel & vmcore whose associated
W>   modules are located in the same directory as the kernel.  This makes
W>   independent triaging of problems much easier.
W>   
W>   This change also does not break the normal kgdb use case where no arguments
W>   are specified; in that case kgdb loads the running kernel and its modules.
W>   
W>   Reviewed by:	adrian
W>   Approved by:	ken (mentor)
W>   Sponsored by:	Spectra Logic
W>   MFC after:	1 month

Will, big thanks! This possibility was missed much.

-- 
Totus tuus, Glebius.