Aug. 4, 2015
7:23 p.m.
I can’t for the life of me figure out how to set a breakpoint on a kernel module’s __init function. Everything I’ve read talks about using add-symbol-file with the values for .text, .bss, and .data after the module is loaded, a la: https://www.linux.com/learn/linux-training/33991-the-kernel-newbie-corner-ke... How do I debug the __init function (that is called on module load)? Thanks, Nick