gdbstub: processes initialization on new peer connection
commit970ed9064aa9f997fd9e65d707dd5cafc7360703
authorLuc Michel <luc.michel@greensocs.com>
Mon, 7 Jan 2019 15:23:46 +0000 (7 15:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jan 2019 15:23:46 +0000 (7 15:23 +0000)
tree321b4d571712c6f550ce73a46b1194ec75870f41
parent3f940dc988b8b958ad940a373cd4c1d1b32e503e
gdbstub: processes initialization on new peer connection

When a new connection is established, we set the first process to be
attached, and the others detached. The first CPU of the first process
is selected as the current CPU.

Signed-off-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181207090135.7651-14-luc.michel@greensocs.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
gdbstub.c