]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Exit with an error if we couldn't set up gdbserver
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Sep 2011 13:15:50 +0000 (14:15 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 9 Sep 2011 07:46:58 +0000 (10:46 +0300)
commitff7a981affbbc4f19f6f92143a3ddff90a1363fe
tree038a82fa76650daf4186d88c6eb5169f6c370505
parent97cc75606aef406e90a243cdb25347039003e7f0
linux-user: Exit with an error if we couldn't set up gdbserver

If gdbserver_start() fails (usually because we couldn't bind to the
requested TCP port) then exit qemu rather than blithely continuing.
This brings the linux-user behaviour in to line with system mode.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/main.c