docs: Document how to use gdb with unix sockets
commit24b1a6aa43615be22c7ee66bd68ec5675f6a6a9a
authorSebastian Meyer <meyer@absint.com>
Tue, 10 Aug 2021 16:04:36 +0000 (10 18:04 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:51 +0000 (25 10:48 +0100)
tree074bcf048c514653c28042adbf13a1bb7f3c9499
parent6f287c700c5fad924585dee1308477aa9e73ae50
docs: Document how to use gdb with unix sockets

With gdb 9.0 and better it is possible to connect to a gdbstub
over unix sockets, which is better than a TCP socket connection
in some situations. The QEMU command line to set this up is
non-obvious; document it.

Signed-off-by: Sebastian Meyer <meyer@absint.com>
Message-id: 162867284829.27377.4784930719350564918-0@git.sr.ht
[PMM: Tweaked commit message; adjusted wording in a couple of
places; fixed rST formatting issue; moved section up out of
the 'advanced debugging options' subsection]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
docs/system/gdb.rst