Anonymous user
Kernel Debugging: Difference between revisions
Jump to navigation
Jump to search
→Use gdb with Qemu
[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
|