I have 2 quesions here:
1. Could any plz tell me what am i missing out here?
I basically, trying to debug my my loadable module in
kernel in kernel2.4.6 version. I patched the kernel
with 2.4.6 kgdb patch, using the recent version.
I am using the modutils shell script to load my module
loadmodule.sh which creates a gdbscript. When I source
the gdbscript I get the following warnings:
warning : section _ksymtab not found in mymodule.o
warning : section _archdata not found in mymodule.o
Do I need to patch the kernel with the modutils. Why
do I get these warnings.
2. How can I put a breakpoint to debug my init_module?
Which is the Kernel Fxn to be invoked to put a
breakpoint in my init_module?
Thanks in advance,
Jalaja
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/