kgdb do not stop in my module ( does not see functions from mymodule.ko)

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

 



Hello List,

I am trying to debug my module using kgdb

After some retires I made a working host -target serial connection

I use Ubuntu 7.10 as host, and Kernel 2.6.26 on target.

The target indeed stops in boot waits for the gdb to set up breakpoints, ....

So I used set solib-path-search command in gdb to set up my driver location and set a breakpoint within my driver. Gdb warned me that currently this symbol is not visible and will become visible on library load.

Ok , I entered   gdb> cont command, the target computer succesfully booted.

Then I load my module on target hoping that gdb will hit a breakpoint because the functions I asked to stop in are inside module initialization code - but nothing happened.

What do I miss here ?


Regards,
Lev

P.S.
#kernelnewbies IRC is closed for new users, how can I register at IRC ?

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux