From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qf2XIZgM62omZhgAWB0awg (envelope-from ) for ; Wed, 04 Nov 2026 05:44:40 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=vrany.io header.i=@vrany.io header.a=rsa-sha256 header.s=protonmail header.b=kMm6HX+B; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 851211E09A; Wed, 04 Nov 2026 05:44:40 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 19DF41E052 for ; Wed, 04 Nov 2026 05:44:40 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 90A2E4BA79BB for ; Wed, 4 Nov 2026 10:44:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90A2E4BA79BB Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=vrany.io header.i=@vrany.io header.a=rsa-sha256 header.s=protonmail header.b=kMm6HX+B Received: from mail-244119.protonmail.ch (mail-244119.protonmail.ch [109.224.244.119]) by sourceware.org (Postfix) with ESMTPS id 9496C4BA23F9 for ; Wed, 4 Nov 2026 10:44:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9496C4BA23F9 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=vrany.io Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrany.io ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9496C4BA23F9 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=109.224.244.119 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793789053; cv=none; b=uGyLqRDlceylBF8tbMCREzo6rTmkiW7tewQtAJWn7PeRnD8w1UljgC8mRuBOp8tafyLr2Zku6+KOSlvhGBKwtQk8LUFAijl4E0B9mbrq1aWYOj9AqV8HYPuR3aXi6kXKqO3F/l6B8GuW9Sdq0pNl1RIGOiUjfZuN/fYeMS/8BcY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793789053; c=relaxed/simple; bh=STWW/3sNQImass+aD6qcrI5RhwmQSLaZ0UNmhS2BCWc=; h=DKIM-Signature:Date:To:From:Subject:Message-ID:MIME-Version; b=U8IotJqdUMICMruAypac7gB+Jpk7pYSgu+Bhp2Ux2Ap9TQVmTTQzes4lLxQhIoEaXxT1pBvQhopcf1Jqof4o027Y8T5/RNk1n2NSVHvLwg82IdvRZu1j8pJYELx+ZF32SGmiUZs3cXlYqHSeC589DbmpNs8EhsY7t1groujau68= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=vrany.io header.i=@vrany.io header.a=rsa-sha256 header.s=protonmail header.b=kMm6HX+B DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9496C4BA23F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrany.io; s=protonmail; t=1793789044; x=1794048244; bh=STWW/3sNQImass+aD6qcrI5RhwmQSLaZ0UNmhS2BCWc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=kMm6HX+B4hkzIU+yxTotwzj5fpWNB6l9jROHjIvcGnuV2nvxLNy8zBeecUGWaVUa/ 9xbSye9ZsBC6C2l/BLHBqjPGjKIULQRstpoU6Xrks/BrfWr0LeosZt7AlKijQ43QmG h0Z/fBUw3XnG6Ie62dk+YCXSN12V6qioxVxQwSZlggZYEh0MvYo+gWDlqk07KjQXA5 KbAweh7M2aSXfCxq7PJp++lmJxiKLChZPjiNKaFqYi0SyRjPrXidQEOFvJhnENs7P+ sBUwO4t2i8zW8h/qnoTfZ486ks8f5TYCyV7rfDnA4b+CFeut4dm/IK+UMkrmrykryh JUCA30esI5oKQ== Date: Wed, 04 Nov 2026 10:44:01 +0000 To: Simon Marchi , Tom Tromey From: Jan Vrany Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2] gdb/testsuite: add support for running tests using QEMU Message-ID: <62517c3a204053c2ef80e7a1ae2f3c788ca2ccf5.camel@vrany.io> In-Reply-To: <932ebaa5-9fe6-48bc-b439-0455bf65f22c@simark.ca> References: <20261027135827.3868769-1-jan@vrany.io> <87qzh17lqo.fsf@tromey.com> <8ff29932-a26d-4f95-8a9a-faaa4210b809@simark.ca> <75cc3bcfcbf89512070df156461210a721e35e17.camel@vrany.io> <932ebaa5-9fe6-48bc-b439-0455bf65f22c@simark.ca> Feedback-ID: 40767693:user:proton X-Pm-Message-ID: 972de145f1b01d80995e27e24dd31053f6285b73 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On Tue, 2026-11-03 at 21:36 -0500, Simon Marchi wrote: >=20 >=20 > On 2026-11-03 15:43, Jan Vrany wrote: > > On Tue, 2026-11-03 at 15:34 -0500, Simon Marchi wrote: > > > On 11/3/26 2:34 PM, Tom Tromey wrote: > > > > > > > > > "Jan" =3D=3D Jan Vrany writes: > > > >=20 > > > > Jan> +=09set portnum [expr {1024+round(rand()*(65535-1024))}] > > > > [...] > > > >=20 > > > > I wonder if you considered using unix domain sockets instead. > > > >=20 > > > > https://qemu-project.gitlab.io/qemu/system/gdb.html#using-unix-sock= ets > > > >=20 > > > > With these I think you could pick the names, and more or less avoid > > > > clashes by construction. > > >=20 > > > I suppose that this board file is not relevant for Windows?=C2=A0 If = so, then > > > it would be a good idea to try using unix sockets. > >=20 > > I do not think we can use sockets here as this patch is using user-mode= qemu, > > not system qemu. >=20 > Seems to work by just passing a path to -g: Oh, I did not know that! It seems to be only documented couple years ago. A= nd=C2=A0 it supports PID placeholder. I'll rewrite it to use sockets in next version= .=C2=A0 Support for Windows hosts can come later if needed.=20 Thanks!=20