From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id my/RB5nKNWkrLCIAWB0awg (envelope-from ) for ; Sun, 07 Dec 2025 13:42:33 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=ClcXsfBo; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 1074A1E08D; Sun, 07 Dec 2025 13:42:33 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED, URIBL_CSS_A autolearn=no 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 4AE321E08D for ; Sun, 07 Dec 2025 13:42:32 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ABBC942DB841 for ; Sun, 7 Dec 2025 18:42:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABBC942DB841 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1765132945; bh=iRTKd8Fgw/p1kGgclaDDzb9NF2Ul+U0SlRDMRPB546o=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ClcXsfBoXLOYgSol9vmUeEocS4CoIaKuFmPYNavtkotUTYJdQqqkIJo9Jh6+Wj7Ee kBRw35ySXvFvMJ5AxFV9BkUkyucYd6SYh0Uo4V+Cg+oHOgXEejfQ96Hh3E/P3krUSF x1oCccR9zbIWrQBR8M5ILfIpz18/Af/gH3TUtp6I= Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by sourceware.org (Postfix) with ESMTPS id 3297C430770A for ; Sun, 7 Dec 2025 18:41:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3297C430770A ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3297C430770A ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765132911; cv=none; b=YpnuqF+Zr1n0wNa5krfCdHJOQUJ2YEzKIQqNXVd5lJy1DSAu3BatLwxyh8EiEb+LPbZDyYpuYI7XHgO/JBI0XKZEpG1xh9QIHwuGSkkucp0W3eT4hpdu3XIGYNP1zf2Wi+pVMeb2UyIn/aW9W8ZCm4B4EboNiptUkl+s9246bkM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765132911; c=relaxed/simple; bh=Tm5jNFqoYoc2BP3WjCQLtC7E+mH/3jwYGbBz6VFwTG0=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=u8mD8YG5pgIIef2GcuWjTsUkNxb6A8agQPd7PHBfTezXRqjU0ez91dYr3H6pJgvV1Zs2BV8ZSWIU/ccWFhrD771ThRbbVVMcZDMCuyolbixMO2XATlDJl/rVyyGp2dvNU1A5z0ruCGomTItPGgaDISDA7fuxS4v9P/IoWI+7z+o= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3297C430770A Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42b3c965cc4so1717287f8f.0 for ; Sun, 07 Dec 2025 10:41:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765132910; x=1765737710; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iRTKd8Fgw/p1kGgclaDDzb9NF2Ul+U0SlRDMRPB546o=; b=vp4MhMD4aGbuHXk3ENILeBURzwkPFTLzFGxiWhWN2HzQKxjD+ZEtuVNkn9tpZleIS1 SkVYy46ie8ZMRf9/CGV1QiyMSBS+7Zn3cQSvDCgHRfYXS0mxnDOoS3K7XmXqrR2vuDAp tacCZiQ7nnvEffxnvdxNNSFk1od2Y/DfAZqkOlvBsKhR1Mz+J7LlnhtBTyIZq8gfs3/v GnTHZoOHM3f5QGLrMzJOXuLECJRym1ZB2MogCsqLarPy22bm2cxW8HF3kzIG6YUVVHWw OVltHxg4qAUtjEJ8W/6TBQ8iWI3rsgB1b/4wvOsUoJyhZrOZ/Gf8yd5tAHiaROPnDBFl +acg== X-Gm-Message-State: AOJu0YyjGO/mWppuV5AkMQHM5aawvkV/HsNHbS3nYOHZBdGowFlqrhmX RG1hdXRahyPKkG0WSvRsWFHXZ8+hpLgkbSUxpJPfPT+/p6GKmpblI9gv X-Gm-Gg: ASbGncuWlI9BfSqFyZcDYRko+ehvynPZ1B8roGOxbm6eS3WveU6WpYzVE7N+GTr50OB pbOLxjdwKKD2YVx2RFmsXCrC/oUdob91BvtF7sOGZJD7gop00E9CoPIOxs+O8t2fnouUjnisVyu /H6Gx6pZXcNJcs0mhBW/DXyys3a/g1ytYNLA10lNR+c7JExBUq6C8mJLUymCobPR3AV6Gg9FHvV YP59x2Ov/vkKf/8Tg1LxePYxgbu+SoaqNsw6xdZRlFG7ywxHGVzivoeByyX496G8m0j4L9Ctpa/ 9T32/Y1nXL5hzhO+wXs6Lkf8kpOGcov448J9L7o17H6moiMhIPknZrUEPAWdMPV7cw6423wXNXT pXmW3ozfIr1cQCdPkVQozkC2aTgSKzAsSXf51HXYj2UfEfUisXIqebui1VBB3sFAJXsFX2cdQtS +RGFqWkN+4Zgjh9qb0JLUCOL5Mo7AmwQAWGQ== X-Google-Smtp-Source: AGHT+IHiOWq9kDXwwdzxPttFMXLbCBhntIMpV6WIOgGfRMo5HnYpgzBVKZ7bgkSdbo8GMwwSnM+sZg== X-Received: by 2002:a05:6000:2007:b0:42b:3746:3b67 with SMTP id ffacd0b85a97d-42f78895ce2mr16039114f8f.25.1765132909724; Sun, 07 Dec 2025 10:41:49 -0800 (PST) Received: from [192.168.0.38] ([86.12.216.189]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42f7d331aeasm20984341f8f.37.2025.12.07.10.41.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Dec 2025 10:41:49 -0800 (PST) Message-ID: <81fb930a-7519-4d41-850a-6e90af5dc607@gmail.com> Date: Sun, 7 Dec 2025 18:41:48 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: GDB 16.3: is it possible to cross-debug an x64 core from ARM? To: psmith@gnu.org Cc: gdb@sourceware.org References: <2f8e6564c0110db9be7ed9b5ab78ee5c9349ca0a.camel@gnu.org> <3188e560-bf2b-4b31-9347-9ed870fb3eb3@simark.ca> <41e77752-34ad-463a-99a1-9c35b7220b16@simark.ca> <06f0c692e3392a1040506f17929b42fd9a863ed4.camel@gnu.org> <433e43213ec07327632e874350cce49f6caaa5a7.camel@gnu.org> Content-Language: en-US In-Reply-To: <433e43213ec07327632e874350cce49f6caaa5a7.camel@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Luis via Gdb Reply-To: Luis Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 05/12/2025 22:40, Paul Smith wrote: > On Fri, 2025-12-05 at 19:10 +0000, Luis wrote: >> To be honest, the aarch64 sim is very outdated. I'm not sure why we >> still carry it around. > > Well, it's built if you configure GDB with --enable-targets holding > aarch64-linux-gnu, and if you don't use that configure option then you > can't cross-debug ARM cores on non-ARM systems. I usually build gdb with --enable-targets=all to get all the ports. I also disable all the sims with what Tom suggested (--disable-sim). > > If you're suggesting that it should be possible to cross-debug for ARM > without that sim, I can't speak to that. Cross-debugging should work without building the simulators, and I´d recommend doing that so you don´t build more than required. What I was suggesting (not specifically to you, but as an idea) is that we (as a project) ought to think about removing the aarch64 simulator as it is very stale. > > Cheers!