svn commit: r248836 - head/gnu/usr.bin/gdb/kgdb
Gleb Smirnoff
glebius at FreeBSD.org
Fri Mar 29 08:22:40 UTC 2013
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.
More information about the svn-src-head
mailing list