I'm trying to debug a function from a kld and in order to do that I use gdb, the steps that i follow in order to do that are:
1. load the debugging symbols from /boot/kernel/kernel;
2. load debugging symbols from <my_file>.ko;
3. set a breakpoint on a function that should execute when the...
I'm developing a device driver kld module to be hooked up to the FreeBSD system. Using a very simple default "hello" driver found below, I'm trying to kld load the module. However I'm getting the error:
KLD hello.ko: depends on kernel - not available or version mismatch
linker_load_file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.