aboutsummaryrefslogtreecommitdiff
path: root/tools/debugscripts/README
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2004-08-04 18:03:43 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2004-08-04 18:03:43 +0000
commitcf02bf2407cb217c99cc82f78b7a2e7f0703c9ee (patch)
tree7e107be3d7b2e3f4cd53fad76ed399eb2e652aa0 /tools/debugscripts/README
parent789902c3aeb321a383d1a2f479f9d8a0551cbba8 (diff)
add a set of scripts that I posted to -current last year. This makes
debugging kernels and kernel modules much easier. It will automaticly locate kernel source, extract kernel module information, and rerun gdb to load kernel module symbol information (if available by compiling module w/ debuging symbols). I have not run these recently, so may need to be updated to work with gdb6. Feel free to fix as appropriate for -current.
Notes
svn path=/head/; revision=133123
Diffstat (limited to 'tools/debugscripts/README')
-rw-r--r--tools/debugscripts/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/debugscripts/README b/tools/debugscripts/README
index 732d3c2d1a59..bd28cdc547af 100644
--- a/tools/debugscripts/README
+++ b/tools/debugscripts/README
@@ -14,3 +14,8 @@ perform kernel debugging, you would do:
(kgdb)
+This directory also contains a kgdb script that given a crash dump number
+automaticly extract the path to the kernel source, run gdb to extract
+information about kernel modules loaded, and then rerun gdb loading the
+necessary symbols for the modules. You need to make sure you build the
+modules w/ debugging symbols seperately to get things to work.