* [Questions] About experience of using kgdb for 2.6.10 kernel
@ 2005-09-19 14:46 Wenfeng Liu
0 siblings, 0 replies; only message in thread
From: Wenfeng Liu @ 2005-09-19 14:46 UTC (permalink / raw)
To: linux-kernel
Hello, All
Recently I use kgdb for 2.6.10 kernel to debug driver modules. I got
the kgdb patch from kgdb CVS server. Here I have some experience of
using it with questions.
1. I use gdbmod-2.2 which is claimed to support automatically load
module symbol to correct address, but it don't do as that. I have to
manually add .text/.data/.bss sections address as add-symbol-file
parameters in gdb commands. Does anybody meet this?
2. I can't add one breakpiont for codes in symbol unless I stop in
sys_init_module and use "step" into module_init routine. It's not
convenient for module debugging, because every time I has to add
breakpoints in module_init, even I don't want to debug it. :(
3. The connection often hangs with printing "error packet" message
especially adding breakpoints or strike "n" quickly for multiple
times. And then the debug can't continue without restart.
Anyway, kgdb is a very good tool for kernel debugging. But from my
experience, it's not stable -- or my usage faults? Is anybody willing
to share with me his experience/knowledge?
Thanks much,
Kent
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-19 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-19 14:46 [Questions] About experience of using kgdb for 2.6.10 kernel Wenfeng Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox