This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch)
On Fri, Sep 28, 2007 at 04:49:43PM -0700, Jim Blandy wrote:
> Okay. Some of the line table entries have been relocated into the
> module's actual range (0xbf13100 on up), but others still look to me
> like offsets within the .ko. Can you post the output from running
> 'readelf -wil' on your .ko file?
add-symbol-file doesn't relocate everything. You have to give it a
separate value for every section.
--
Daniel Jacobowitz
CodeSourcery