+* Get your coredump.
-* Get your coredump.\r
-* Start kgdb: `kgdb /var/crash/kernel.X /var/crash/vmcore.X`.\r
+* Start kgdb: `kgdb /var/crash/kern.X /var/crash/vmcore.X`.
-* Load some handy helper commands when you're at the kgdb prompt: `source /usr/src/test/debug/gdb.kernel`.\r
-* Get the kld statistics from the kernel: `kldstat` at the kgdb prompt.\r
+* Load some handy helper commands when you're at the kgdb prompt: `source /usr/src/test/debug/gdb.kernel`.
-* Background kgdb (^Z).\r
-* Execute a helper utility to create another gdb script: `asf -s /modules`.\r
+* Get the kld statistics from the kernel: `kldstat` at the kgdb prompt.
-* Paste the output from the kgdb 'kldstat' command above.\r
-* Signal asf that you're ready (^D).\r
+* Background kgdb (^Z).
-* Foreground kgdb again: `fg`.\r
-* Load the gdb script created by asf above to load kmod symbols: `source .asf` at the kgdb prompt.\r
+* Execute a helper utility to create another gdb script: `asf -s /modules`.
+
+
+* Paste the output from the kgdb 'kldstat' command above.
+
+
+* Signal asf that you're ready (^D).
+
+
+* Foreground kgdb again: `fg`.
+
+
+* Load the gdb script created by asf above to load kmod symbols: `source .asf` at the kgdb prompt.
+
+
+* Print, list, backtrace to your heart's content! Be sure to have debug symbols compiled with your modules though ;).
-* Print, list, backtrace to your heart's content! Be sure to have debug symbols compiled with your modules though ;).\r