From: Simon Marchi <simark@simark.ca>
To: Tom Tromey <tom@tromey.com>, Jan Vrany <jan@vrany.io>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] gdb/testsuite: add support for running tests using QEMU
Date: Tue, 3 Nov 2026 15:34:21 -0500 [thread overview]
Message-ID: <8ff29932-a26d-4f95-8a9a-faaa4210b809@simark.ca> (raw)
In-Reply-To: <87qzh17lqo.fsf@tromey.com>
On 11/3/26 2:34 PM, Tom Tromey wrote:
>>>>>> "Jan" == Jan Vrany <jan@vrany.io> writes:
>
> Jan> + set portnum [expr {1024+round(rand()*(65535-1024))}]
> [...]
>
> I wonder if you considered using unix domain sockets instead.
>
> https://qemu-project.gitlab.io/qemu/system/gdb.html#using-unix-sockets
>
> With these I think you could pick the names, and more or less avoid
> clashes by construction.
I suppose that this board file is not relevant for Windows? If so, then
it would be a good idea to try using unix sockets.
Simon
next prev parent reply other threads:[~2026-11-03 20:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 13:59 Jan Vrany
2026-11-03 12:37 ` [PING] " Jan Vrany
2026-11-03 16:27 ` Simon Marchi
2026-11-03 19:34 ` Tom Tromey
2026-11-03 20:34 ` Simon Marchi [this message]
2026-11-03 20:43 ` Jan Vrany
2026-11-04 2:36 ` Simon Marchi
2026-11-04 10:44 ` Jan Vrany
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8ff29932-a26d-4f95-8a9a-faaa4210b809@simark.ca \
--to=simark@simark.ca \
--cc=gdb-patches@sourceware.org \
--cc=jan@vrany.io \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox