on 29/01/2010 16:33 Jeremy Chadwick said the following: > > The *.symbols files I have for the kernel are installed in /boot/kernel. > I'm referring to "stuff" in /usr/obj which appears to be required to > debug a crash (vmcore). What I'm describing is even mentioned in the > FreeBSD Developers Handbook: > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html > > Note the first two steps: > > 1:# cd /usr/obj/usr/src/sys/KERNCONF > 2:# kgdb kernel.debug /var/crash/vmcore.0
No, that information is outdated. The *.symbols files in /boot/kernel are required, "stuff in /usr/obj" is not. You start debugging by kgdb /boot/kernel/kernel /var/crash/vmcore.0 or whatever are the proper paths. BTW, this section is also obsolete: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-kld.html Modules/their symbols are loaded automatically in the recent versions of FreeBSD. -- Andriy Gapon _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"