Kernel Debugging with QEMU: Difference between revisions

imported>Mic92
No edit summary
imported>Mic92
new config target is called kvm_guest.config
Line 35: Line 35:
$ nix-shell shell.nix
$ nix-shell shell.nix
$ make x86_64_defconfig
$ make x86_64_defconfig
$ make kvmconfig
$ make kvm_guest.config
$ scripts/config --set-val DEBUG_INFO y # For gdb debug symbols
$ scripts/config --set-val DEBUG_INFO y # For gdb debug symbols
$ scripts/config --set-val DEBUG y # All pr_debug messages get printed
$ scripts/config --set-val DEBUG y # All pr_debug messages get printed