Hi KKK,

Could you try the command "info sharedlibrary"  and post its output. If the 
output of this command doesn't show my_module, there is some problem with 
detection of the module by gdb.

-Amit

On Wednesday 04 July 2007 18:55, kiran kumar wrote:
> Hi all,
>
> I am trying to setup KGDB for remote debugging. I have applied
> kgdb-2.4patch, to kernel-2.6.12 manually(without using patch command) .
>
> Iam able to debug the kernel, set the breakpoints. but iam struck at
> debuging the modules.
>
> To debug modules , Iam using gdbmod-2.4 , prebuilt version available at
> linsyssoftcom
>
> On development machine,Iam setting the corresponding path  for my_module.ko
>  at gdb prompt, using set solib-search-path /home/kiran/my_modules/
>
> On target machine, Iam doing
> insmod my_module.ko
>
> But with this , Iam unable to set breakpoints or debug the modules.
>
> Can anybody tell me , what I have missed  ?
> How to provide the modules symbols and offset to gdb?
> Please excuse me , if it is not the right place to place my query, but help
> me. Thanks in Advance,
> K.Kiran Kumar
>
>
>
>
> ---------------------------------
> Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user
> panel and lay it on us.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Kgdb-bugreport mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to