Displaying posts tagged: gdb
2009-01-11 20:20:20
No Comments
When debugging FreeBSD kernel modules with GDB, you have to tell GDB the correct symbols for the module, and the location the module is loaded in RAM. This is helpfully explained in the FreeBSD Developers' Handbook. First you must load the module, then run kldstat, note down the address the module is loaded at, and finally ...
