Using kgdb to debug linux kernel modules

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

 



Dear All,


I was trying to debug linux kernel module using standard procedure described for kgdb.
So I have used add-symbol-file [module].ko <address>.

I was able to resolve symbols from the module and setup breakpoints.
Debugger stops at the breakpoint, however, it shows "no line information"
when trying to step through.

Module is compiled with debug info. Loading [module].ko with

gdb [module].ko correctly shows lines for functions.

Did somebody face the same problem and if so what was the solution?

Thank you,
Best regards,
Grigory

[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