AnsweredAssumed Answered

How to debug modules using mainline Linux kernel?

Question asked by Robert Cochran on Apr 29, 2015
Latest reply on May 14, 2015 by Adrian Stoica

Hi,

 

I'm using CW 10.4 for QorIQ on Ubuntu 14.04 with a t1040rdb.  All is good while debugging the QorIQ SDK1.7 kernel (3.12).  However, when I use a 4.0 kernel, CW no longer works properly when trying to debug kernel modules.   

 

It doesn't break during module loading (like it does when debugging the 3.12 kernel).  And if I manually set a break point after the module is loaded, the source code for the module doesn't map properly. 

 

Is there a way to correct this? 

 

My hunch is that CW is looking for some particular structure in the kernel that has changed between 3.12 and 4.0.  

Outcomes