What use is the kernel-debuginfo package?

Roland McGrath roland at redhat.com
Wed Mar 21 22:08:30 UTC 2007


> 2) The path to the debug info is wrong anyway. In fact, there _is_
>    no path info in the .gnu_debuglink section of the kernel modules:

They're not supposed to have directory names.  Try elfutils tools, or gdb.
They handle separate debuginfo well.  e.g. eu-addr2line -k 0x... is nice.
We don't yet have disassembly tools in elfutils, unfortunately.  

gdb will deal well with a .ko and find its debug info, and has disassembly
and source info.  It doesn't have an interleaved output format AFAIK, though.

I've considered writing an "unstrip" to paste stripped and .debug file back
together so you can use them with dumber tools.




More information about the Fedora-kernel-list mailing list