I want to use GNU DDD (the gdb graphical shell) to debug the Linux kernel, which runs (on some distribution) inside qemu.
I have a vmlinux image outside of Qemu and run Qemu with -s -S , so it acts like gdbserver (stops at startup and waits for debugging commands). Now, how to connect DDD to this gdbserver using local vmlinux image?
Should I just open the image and tell gdb 'target remote'?
source share