From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cFyLGwm7G2cYRhoAWB0awg (envelope-from ) for ; Fri, 25 Oct 2024 11:36:41 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=vWIkEdId; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 6BF7C1E3AA; Fri, 25 Oct 2024 11:36:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS autolearn=unavailable autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 196AD1E37A for ; Fri, 25 Oct 2024 11:36:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 54A7E3858C41 for ; Fri, 25 Oct 2024 15:36:40 +0000 (GMT) Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 146A73858D21 for ; Fri, 25 Oct 2024 15:36:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 146A73858D21 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 146A73858D21 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729870581; cv=none; b=QOhzqP/1fWh41TUYb19vrAbHmjhouFNzDuP1jn7M8HZj+J91RLqflhzPASjjVWKH32Q5RtBfvZkWmLjvqlnwN0ly/zqZI3SK+R9SlqkCRPfyTxT0THnoYR3rLlJ/b1914pMQdvgKairk5N2uCGsDlcApmbn4ZaTAHuVY0cY6GPo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729870581; c=relaxed/simple; bh=jWXUQuiiiJiWA7NAPZ/VDwJgEF+wh+1UttHkXXiiIpw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=koG87/LvVBieREmQbjHPebpNHGTy+Y/A97rFAo8SiiEtYtVKC+pOH6quB06HHziXYU/xKr0SvZmJUb0/ZUjubP99gZZLIuiHHFcIB4iGsvcVvTeSOFxZ/GlQiVE6bSzcMCzLyWh01eBRrJfN3aK5wINFOV9OFtD7OyBNbVyIQeA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5007a.ext.cloudfilter.net ([10.0.29.141]) by cmsmtp with ESMTPS id 420Vth3rZVpzp4MMHtIdtj; Fri, 25 Oct 2024 15:36:14 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 4MMGtqXhqHNNp4MMHtBfnh; Fri, 25 Oct 2024 15:36:13 +0000 X-Authority-Analysis: v=2.4 cv=OK8h3zaB c=1 sm=1 tr=0 ts=671bbaed a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=DAUX931o1VcA:10 a=ItBw4LHWJt0A:10 a=dzWzf_mpAAAA:8 a=-QVKxx4akQJj33T-OHMA:9 a=b4DR9a7p2ZdsqdHBznES:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dSeYpIaCSZnsixTzGqRi7QSAemeTG5ACf/JkxxX769Q=; b=vWIkEdIdhH92XIye5rHQtWJJdo W7VvxF1nNZACoTzuCmPzXyruTHhCYW5r9k7I7xOs29WDEfwieyjIIodUDBWceajXliqOtimwso7Jr 8S1BBP+QlLIRdVHt9LdbgjNEE; Received: from 97-122-113-155.hlrn.qwest.net ([97.122.113.155]:44432 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1t4MMG-000zj7-14; Fri, 25 Oct 2024 09:36:12 -0600 From: Tom Tromey To: Simon Marchi Cc: Andreas Schwab , Guinevere Larsen , Andrew Oates , gdb-patches@sourceware.org Subject: Re: [PATCH] Fix compile error due to [[noreturn]] with clang In-Reply-To: <9f436087-d5c5-449a-b80c-da896989fc4e@simark.ca> (Simon Marchi's message of "Tue, 22 Oct 2024 16:37:07 -0400") References: <20241020180001.67425-1-andrew@andrewoates.com> <87ed476gah.fsf@igel.home> <9f436087-d5c5-449a-b80c-da896989fc4e@simark.ca> X-Attribution: Tom Date: Fri, 25 Oct 2024 09:36:11 -0600 Message-ID: <87bjz89ous.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.113.155 X-Source-L: No X-Exim-ID: 1t4MMG-000zj7-14 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-113-155.hlrn.qwest.net (murgatroyd) [97.122.113.155]:44432 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfAAUVt7bvDQf5A7hzcNjo+Qc4+nZjvdYpPkA2GygxpuH0I9ZoGaCqCYIECE/VF3ghMW4MFk04Bi1X47VH5AuZfBnkVFdyeYr7NBUxdZ1GNOICmGLOXft 27ERneWsVnUdeBsI+ngl+jsRDt5V8cFpdWEmvR+s9uh+BVRqLtkMcA94rYiZoK6EnSVtQ1eYGSsmuimobzBORxED1SmRNXUqH+o= 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 >>>>> "Simon" == Simon Marchi writes: Simon> But nowadays, --enable-targets=all builds the sim for all targets (that Simon> have a sim), not only the main target. Would it be possible to build Simon> remote-sim.o in that case, and use the simulator for any target, from a Simon> single --enable-targets=all gdb build? Andreas pointed out why this doesn't work today, but I wanted to mention that I think we should have a goal of removing remote-sim.o entirely. In particular I think the the sim should run as a separate process and talk to gdb via the remote protocol. "target sim" would be reimplemented as "target remote | arch-name-whatever". This way, the sim could be made multi-target-capable and also wouldn't block the goal of always using target async. I started work on this a bit, turning gdbserver into a library and writing a gdbserver target layer for the sim. However, I'm a little blocked on figuring out how to handle register descriptions. There's also the gdbarch "register_sim_regno" hook to remove. IMO the sims are a bit of an albatross. Mike did a bunch of work on them a while ago, but for the most part they don't seem to be actively developed. Tom