Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Jan Vrany <jan@vrany.io>
Cc: gdb-patches@sourceware.org,  simark@simark.ca
Subject: Re: [PATCH v2] gdb/testsuite: add support for running tests using QEMU
Date: Tue, 03 Nov 2026 12:34:07 -0700	[thread overview]
Message-ID: <87qzh17lqo.fsf@tromey.com> (raw)
In-Reply-To: <20261027135827.3868769-1-jan@vrany.io> (Jan Vrany's message of "Tue, 27 Oct 2026 13:59:52 +0000")

>>>>> "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.

thanks,
Tom

  parent reply	other threads:[~2026-11-03 19: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 [this message]
2026-11-03 20:34   ` Simon Marchi
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=87qzh17lqo.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan@vrany.io \
    --cc=simark@simark.ca \
    /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