John Baldwin <[EMAIL PROTECTED]> writes: > Log: > Add support for automatically loading symbols for kld's on startup: > - Add a new 'kgdb_auto_load_klds()' routine which is invoked during > startup that walks the list of linker files and tries to find a matching > kld on disk for each non-kernel kld. If a kld file is found, then it > is added as if the 'add-kld' command is invoked. One change from > 'add-kld' is that this method attempts to use the 'pathname' from the > linker_file structure first to try to load the file. If that fails > it then looks in the kernel directory followed by the directories in > the module path.
John, this is awesome. The issue of how to debug panics in KLDs has been a PITA for so many years... There have been attempts to write gdb macros to automate it, but it's never worked 100% due to limitations in gdb's macro language. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
