Date: Fri, 29 Mar 2013 12:22:32 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Will Andrews <will@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r248836 - head/gnu/usr.bin/gdb/kgdb Message-ID: <20130329082232.GE76816@FreeBSD.org> In-Reply-To: <201303281704.r2SH4x3J025620@svn.freebsd.org> References: <201303281704.r2SH4x3J025620@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130329082232.GE76816>