]> git.proxmox.com Git - mirror_qemu.git/commit - gdbstub.c
gdbstub: Set current CPU on interruptions
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 24 Jul 2015 16:52:31 +0000 (18:52 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 27 Jul 2015 19:46:16 +0000 (22:46 +0300)
commit226d007dbd75ec8d0f12d0f9e1ce66caf55d49e4
treef6292d9b00095620557c9c361e6c31caa3c8f07a
parent801db5ecdac7575a1b0250243eea1767da553e50
gdbstub: Set current CPU on interruptions

gdb expects that the thread ID for c and g-class operations is set to
the CPU we provide when reporting VM stop conditions. If the stub is
still tuned to a different CPU, the wrong information is delivered to
the gdb frontend.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
gdbstub.c