H huiming cheng Jul 16, 2020 #1 hi, I want to debug a .ko file like gdb, to run step by step. which tool can help this ? thanks in advance.
hi, I want to debug a .ko file like gdb, to run step by step. which tool can help this ? thanks in advance.
G George Jul 16, 2020 #2 Add some printfs to the source code, and recompile? There is a chapter in the handbook on kernel debugging. Chapter 10. Kernel Debugging FreeBSD Kernel Debugging www.freebsd.org
Add some printfs to the source code, and recompile? There is a chapter in the handbook on kernel debugging. Chapter 10. Kernel Debugging FreeBSD Kernel Debugging www.freebsd.org