No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch)

Daniel Jacobowitz drow@false.org
Sat Sep 29 00:27:00 GMT 2007


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



More information about the Gdb mailing list