Re: Module debugging under GCC

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

 



Xiangfei Jia a écrit :
I want to use the "add-symbol-file" in GCC to debug kernel modules. How can I found out the addresses for ".text", ".bss" and ".data" sections, in order to add a symbol table?

Fei
hey no way to debug the kernel with gcc. Use a kernel debuger like kdb (which is included in the lastest kernels). Have a look here :
http://www-106.ibm.com/developerworks/linux/library/l-kdbug/



-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: 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