freebsd-dev/gnu/usr.bin/gdb
Will Andrews c89d0ca50b KGDB: Allow modules to be loaded from the specified kernel's directory.
When looking up the absolute path for a kld, call find_kld_path() first.
This enables locating the module in a different directory than the one
stored in kernel memory.

With this change, kgdb can now be run on a kernel & vmcore whose associated
modules are located in the same directory as the kernel.  This makes
independent triaging of problems much easier.

This change also does not break the normal kgdb use case where no arguments
are specified; in that case kgdb loads the running kernel and its modules.

Reviewed by:	adrian
Approved by:	ken (mentor)
Sponsored by:	Spectra Logic
MFC after:	1 month
2013-03-28 17:04:59 +00:00
..
arch Fix typo. Not a win in terms of functionality but in terms of completeness. 2012-08-19 19:17:54 +00:00
doc Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as 2010-08-12 20:46:49 +00:00
gdb General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
gdbserver MFtbemd: 2010-08-23 22:24:11 +00:00
gdbtui Use the system gnuregex library vs. building GNU regex bits into libiberty 2005-02-14 12:10:14 +00:00
kgdb KGDB: Allow modules to be loaded from the specified kernel's directory. 2013-03-28 17:04:59 +00:00
libgdb Merging of projects/armv6, part 3 2012-08-15 03:21:56 +00:00
Makefile MFtbemd: 2010-08-23 22:24:11 +00:00
Makefile.inc Merging of projects/armv6, part 3 2012-08-15 03:21:56 +00:00