qemu gdbstub
Hi,
The new qemu gdbstub in recent qemus/kvms is really nice and a big improvement over earlier ones. Thank you.
I'm using qemu-kvm-0.10.6 on the plain Linux 2.6.30 KVM on VT.
One problem I noticed is that I cannot step on another CPU thread than where it stopped.
e.g.
Ctrl-C
(stopping on thread 1)
(gdb) thread 2
(gdb) step
...
I come back to thread 1 after the step
On native gdb with multiple threads that seems to work.
-Andi
Quoted 12 lines · Andi Kleen
Hi,
The new qemu gdbstub in recent qemus/kvms is really nice and a big improvement over earlier ones. Thank you.
I'm using qemu-kvm-0.10.6 on the plain Linux 2.6.30 KVM on VT.
One problem I noticed is that I cannot step on another CPU thread than where it stopped.
e.g.
Quoted 8 lines
Ctrl-C
(stopping on thread 1)
(gdb) thread 2
(gdb) step
...
I come back to thread 1 after the stepOn native gdb with multiple threads that seems to work.
You need vCont support in the gdbstub, and this feature is now finally merged into 0.11. So qemu-kvm-0.11-rcX should be what you want.
Jan