Re: kernel debugging
Wed, 2 Dec 1998 16:24:55 +0100

Subject: linux-kernel-digest V1 #2925
Send reply to:
Date sent: Wed, 2 Dec 1998 04:19:11 -0500

> From: Jason Casmira <>
> 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
Please read the FAQ at