]> git.proxmox.com Git - mirror_qemu.git/commit - gdbstub.c
gdbstub: allow killing QEMU via vKill command
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Feb 2019 16:52:41 +0000 (16:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Feb 2019 16:52:41 +0000 (16:52 +0000)
commit45a4de25835b8c29283d40e47cc2291e7cea2337
tree6465638d80537715555f18de07bb721ca4e1fcab
parentf6a148fef63698826e69ca91cc11877ab1ed786f
gdbstub: allow killing QEMU via vKill command

With multiprocess extensions gdb uses 'vKill' packet instead of 'k' to
kill the inferior. Handle 'vKill' the same way 'k' was handled in the
presence of single process.

Fixes: 7cf48f6752e5 ("gdbstub: add multiprocess support to
(f|s)ThreadInfo and ThreadExtraInfo")

Cc: Luc Michel <luc.michel@greensocs.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: KONRAD Frederic <frederic.konrad@adacore.com>
Tested-by: KONRAD Frederic <frederic.konrad@adacore.com>
Message-id: 20190130192403.13754-1-jcmvbkbc@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
gdbstub.c