Hi
I am currently testing a device driver on linux-2.4.19. This is
implemented as a loadable kernel module.
# Could anyone suggest a good debugger that can be used to debug kernel
modules?
# When I tried using gdb with vmlinux and /proc/kcore, I am getting a
message saying that no debug symbols are found. How do I enable debug
symbols for linux kernel image? Kernel Debug is already enabled. Is
there some other configuration that needs to be there?
Thanks in advance.
regards
Madhavi.
Madhavi wrote:
># Could anyone suggest a good debugger that can be used to debug kernel
> modules?
>
>
LKCD, KDB are good choices.
>
>
On Tuesday 21 Jan 2003 6:17 am, Madhavi wrote:
If you need to debug a complex problem where stepping through or even
pin-pointing roughtly the right code location then you might consider
dprobes/kprobes.
Richard
> Hi
>
> I am currently testing a device driver on linux-2.4.19. This is
> implemented as a loadable kernel module.
>
> # Could anyone suggest a good debugger that can be used to debug kernel
> modules?
>
> # When I tried using gdb with vmlinux and /proc/kcore, I am getting a
> message saying that no debug symbols are found. How do I enable debug
> symbols for linux kernel image? Kernel Debug is already enabled. Is
> there some other configuration that needs to be there?
>
> Thanks in advance.
>
> regards
> Madhavi.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Richard J Moore
IBM Linux Technology Centre