Kernel Debugging: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Line 72:
objcopy --strip-debug kernel.elf
 
If you are linking the kernel in elf format and haven't stripped the debug info from it, you can import the symbols in gdb using
 
(gdb) symbol-file kernel.elf ;kernel.elf is the actual kernel image in this case
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu