From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id HPyVBmtF6mpliA0AWB0awg (envelope-from ) for ; Tue, 03 Nov 2026 15:34:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1793738090; bh=3SO5+1WOAMUOr+r28VS7FF7Si5qPeOJfu+j7Jp8VzNs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BLjzswVk0cu/S45wlgwkTk789+eRaDi4D7GL+EzEfO1ctKEtjkZz7WVDxJZz4Ew+C lpYI95voCuu8rHYexvmZZQlCghG0qbk5/N33gNbx2Qg/wwi884LrslH0Am8JYy6Ttq n8YO4z1ZvXWYy2KEa3ipcfaU7e/9JzJMw0nglih8= Received: by simark.ca (Postfix, from userid 112) id AE448378002; Tue, 03 Nov 2026 15:34:50 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.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 autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=QIiOoKus; dkim-atps=neutral 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 27AAD1E043 for ; Tue, 03 Nov 2026 15:34:48 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9D6FA4BA9001 for ; Tue, 3 Nov 2026 20:34:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D6FA4BA9001 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=QIiOoKus Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id F1AA34BA7994 for ; Tue, 3 Nov 2026 20:34:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F1AA34BA7994 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F1AA34BA7994 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793738065; cv=none; b=gi0lmpkaS2gArxL+ZICsrPdrmOAvRAv9Mq2XL229EBz5+KuPTkIaRDF8MG42Yizt7oJWG17wtDJxkFwrLmVgLx2eleQ6plcZ6ZqcVRAYkgDYiM8zEm7b8/5HD999m22LCBTsYjDpwglQnvFM2y8aWKhpDuJQMUukudcGVEdPk3w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793738065; c=relaxed/simple; bh=3SO5+1WOAMUOr+r28VS7FF7Si5qPeOJfu+j7Jp8VzNs=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=paWm2iKTxCERsLkHgmbL0htv9utOZUcpCzkpubTnR53+S7LcLYyd/xEKHxTyv1fzX1keRkA+8PTNndMEbatGGXJ/eSdyFNfeetjIqAtCBFCH77WTbHt1+HC6pSL4I6dWiYcxGKc1vtBUlCBcfpc64CAB7lB1wbGNuZCucFvKxDk= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=QIiOoKus DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1AA34BA7994 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1793738063; bh=3SO5+1WOAMUOr+r28VS7FF7Si5qPeOJfu+j7Jp8VzNs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QIiOoKusJckbnOrs6qftie9/TcUrvFOd+z/zitfVunfD8AUDSWG5TquYsvD/8pzVz rEQD21yW7j5lCYodVsIcVzKNntnMfqpz7sOgW0V1BQUV4+XMUCafZFg6SHTJvaKJ/6 lAlBfoQLaNc+gohUVyfOo9c9Wxcfp+XCwm4UBkXs= Received: by simark.ca (Postfix) id E67A41E043; Tue, 03 Nov 2026 15:34:22 -0500 (EST) Message-ID: <8ff29932-a26d-4f95-8a9a-faaa4210b809@simark.ca> Date: Tue, 3 Nov 2026 15:34:21 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] gdb/testsuite: add support for running tests using QEMU To: Tom Tromey , Jan Vrany Cc: gdb-patches@sourceware.org References: <20261027135827.3868769-1-jan@vrany.io> <87qzh17lqo.fsf@tromey.com> Content-Language: fr From: Simon Marchi In-Reply-To: <87qzh17lqo.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 11/3/26 2:34 PM, Tom Tromey wrote: >>>>>> "Jan" == Jan Vrany 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