diff --git a/README.adoc b/README.adoc index 0aa951b..7b48ab3 100644 --- a/README.adoc +++ b/README.adoc @@ -904,6 +904,20 @@ See also: * http://stackoverflow.com/questions/11408041/how-to-debug-the-linux-kernel-with-gdb-and-qemu/33203642#33203642 * http://stackoverflow.com/questions/4943857/linux-kernel-live-debugging-how-its-done-and-what-tools-are-used/42316607#42316607 +==== GDB step debug kernel boot other archs + +Just don't forget to pass `--arch` to `./run-gdb`, e.g.: + +.... +./run --arch aarch64 --wait-gdb +.... + +and: + +.... +./run-gdb --arch aarch64 start_kernel +.... + [[kernel-o0]] ==== Disable kernel compiler optimizations