[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to kernel debugging



Missed the forum.... Again!!!

On 5/5/08, arshad hussain <arshad.super@xxxxxxxxx> wrote:

On 5/5/08, amol verule <amol.debian@xxxxxxxxx> wrote:
hi to all,
i am new to kernel .can any one tell me about document for debugging kernel.
is any patch is require for it i.e kdb kgdb?

Yes.  IMHO even probes have a patch.
So you are limited to the kernel which 
the existing patch is available.

i am using 2.6.21 kernel i have compiled this kernel with DEBUG_KERNEL=y option anything else is require to enable?
how can i debug my kernel ?

Have a look at UML. This way you can use gdb to debug 
your kernel.  There are documentatiton how to do this
in the UML page.

Thanks