From cf02bf2407cb217c99cc82f78b7a2e7f0703c9ee Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 4 Aug 2004 18:03:43 +0000 Subject: 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. --- tools/debugscripts/README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/debugscripts/README') 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. -- cgit v1.3