Redox OS Microkernel
Debugging the redox kernel
make qemu gdb=yes
If you are going to use gdb, run the following to load debug symbols and connect to your running kernel.
(gdb) symbol-file build/kernel.sym (gdb) target remote localhost:1234
If you are going to use lldb, run the following to start debugging.
(lldb) target create -s build/kernel.sym build/kernel (lldb) gdb-remote localhost:1234
After connecting to your kernel you can set some interesting breakpoints and
the process. See your debuggers man page for more information on useful commands to run.