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-kernel-and-module-debugging-with-gdb

How do I debug the __init function (that is called on module load)?

Thanks,
Nick
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to