This section describes some common issues you can experience while debugging the Linux kernel in QEMU.
| Problem / Error Message | Description and Solution |
|---|---|
(gdb) target remote
W.X.Y.Z:9000:9000: Connection refused.
|
Problem Description:
GDB failed to attach the QEMU target. This is most likely because the port 9000 is not the one QEMU is using Solution:Check your QEMU console to ensure QEMU is running. Watch the Linux host command line console. It should show the full QEMU commands and you should be able to see which port is being used by QEMU. |