gdbstub/linux-user: support debugging over a unix socket
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 30 Apr 2020 19:01:19 +0000 (20:01 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 6 May 2020 08:29:26 +0000 (09:29 +0100)
commitfcedd920867b8eb26ec803901a24db53a38882c5
treec55c9dec8d2ff08e6448cfd9c8cf1fa0abacc758
parente0a1e2084779fec1adc72866212bda3549fc4c22
gdbstub/linux-user: support debugging over a unix socket

While debugging over TCP is fairly straightforward now we have test
cases that want to orchestrate via make and currently a parallel build
fails as two processes can't use the same listening port. While system
emulation offers a wide cornucopia of connection methods thanks to the
chardev abstraction we are a little more limited for linux user.
Thankfully the programming API for a TCP socket and a local UNIX
socket is pretty much the same once it's set up.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200430190122.4592-7-alex.bennee@linaro.org>
bsd-user/main.c
gdbstub.c
include/exec/gdbstub.h
linux-user/main.c