From: Jan Vrany <jan@vrany.io>
To: Simon Marchi <simark@simark.ca>, Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] gdb/testsuite: add support for running tests using QEMU
Date: Tue, 03 Nov 2026 20:43:39 +0000 [thread overview]
Message-ID: <75cc3bcfcbf89512070df156461210a721e35e17.camel@vrany.io> (raw)
In-Reply-To: <8ff29932-a26d-4f95-8a9a-faaa4210b809@simark.ca>
On Tue, 2026-11-03 at 15:34 -0500, Simon Marchi wrote:
> 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.
I do not think we can use sockets here as this patch is using user-mode qemu,
not system qemu.
Jan
next prev parent reply other threads:[~2026-11-03 20:44 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
2026-11-03 20:43 ` Jan Vrany [this message]
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=75cc3bcfcbf89512070df156461210a721e35e17.camel@vrany.io \
--to=jan@vrany.io \
--cc=gdb-patches@sourceware.org \
--cc=simark@simark.ca \
--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