]> git.proxmox.com Git - mirror_qemu.git/commit - gdbstub.c
gdbstub: add multiprocess support to 'sC' packets
authorLuc Michel <luc.michel@greensocs.com>
Mon, 7 Jan 2019 15:23:46 +0000 (15:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jan 2019 15:23:46 +0000 (15:23 +0000)
commit8dbbe9ac7f9c838d80fdf06b133daa12ffc3f264
treea882014f518936e6710756356b67ddfbc74f32d1
parente40e5204af8388e605df2325d9b562c05919350e
gdbstub: add multiprocess support to 'sC' packets

Change the sC packet handling to support the multiprocess extension.
Instead of returning the first thread, we return the first thread of the
current process.

Signed-off-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 20181207090135.7651-7-luc.michel@greensocs.com
[PMM: corrected checkpatch comment style nit]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
gdbstub.c