> From: Jason Casmira <cazman@indra.com>
> Date: Tue, 01 Dec 1998 20:35:58 -0700
> Subject: kernel debugging
>
> I have performed this type of work before, but never with
> available source code. Therefore, I was wondering if anyone
> could suggest some resources for performing kernel debugging
> & tracing.
>
>
> Since subscribing to this list, I've seen lots of patches, mods,
> etc., and am wondering how these are being tested & debugged.
>
I think most of us are using printk() inside kernel source to view
what we want.
You can also compile kernel with -g (without removing -O2), then
analyse kernel memory as a core file by doing
gdb /usr/src/linux/vmlinux /proc/kcore
christophe leroy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/