From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EOopB6CkX2r3AyEAWB0awg (envelope-from ) for ; Tue, 21 Jul 2026 12:56:00 -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=in9XtQZ8; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id ED50C1E09E; Tue, 21 Jul 2026 12:55:59 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.8 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_MED 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 06F2B1E033 for ; Tue, 21 Jul 2026 12:55:58 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B9EEB4BA2E27 for ; Tue, 21 Jul 2026 16:55:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9EEB4BA2E27 Authentication-Results: sourceware.org; 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=in9XtQZ8 Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id 7B4304BA543C for ; Tue, 21 Jul 2026 16:55:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7B4304BA543C 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 7B4304BA543C Authentication-Results: sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784652930; cv=none; b=BuqcWvenLHY6tTp/Wh0BakP8btaVjRb0bPSJNrrrD7GglRIBh/y4MNotSs4EZbudkrpfpO1W0S179CExSEVtqFYhjDqqvI+HTe5GgJm0cF8bbYOA8D2s9CO6RMJjYs8IqzEmYXzRKhWIkYMXObTFOkugyCajKaEN6d8OjOlNy3k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784652930; c=relaxed/simple; bh=TcSyHgSqpSuhRidNFwsK6EJtzR/SQpZtCfSrdf6svQo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=pwrQTgNyVz96mt4YBiOi7RbVS8VBXkmI0ulMFcmQ8I5IkEU93i0TOCfTeCuctyuwf2nVdCMSPF51GnzEnYV6r5cfS1X5vI7VWK2Kab/Jm5sFPkGSCHoB61O9RIZtu3o8lCLfD949giBUqO+ZTGR5njmopZ4VmXZEZSdejIPUa4c= ARC-Authentication-Results: i=1; sourceware.org; dkim=policy (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=in9XtQZ8 reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B4304BA543C Received: from eig-obgw-6004b.ext.cloudfilter.net ([10.0.30.210]) by cmsmtp with ESMTPS id m6KZwGIh4uFzgmDkfwTW0W; Tue, 21 Jul 2026 16:55:30 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id mDkfwI2CxJzb7mDkfwRWuA; Tue, 21 Jul 2026 16:55:29 +0000 X-Authority-Analysis: v=2.4 cv=Quhe3Uyd c=1 sm=1 tr=0 ts=6a5fa481 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=ItBw4LHWJt0A:10 a=kpCR6WHo7t3t1DIO6ycA:9 a=QEXdDO2ut3YA:10 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=+L4G9bX1xFdp51J+s/5sdUBoadlJqSHszqjXcUF1+Co=; b=in9XtQZ8NjIex0hDCYXW6qFpuV ltnplLSz9qDcD1MmDUJltJmbhch/2++dkp4iJhlstoIDkoqpnKicQIF6X0QGfVzZdkFba7n9vW/aV GoUU+VagSyeIcIaN+D5WwJmBS; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:51746 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.2) (envelope-from ) id 1wmDke-00000001zOC-40cA; Tue, 21 Jul 2026 10:55:29 -0600 From: Tom Tromey To: Matthieu Longo Cc: Luis , gdb-patches@sourceware.org, Thiago Jung Bauermann , Andrew Burgess , Luis Machado Subject: Re: [PATCH] gdb questions: fallback on maps still relevant today ? In-Reply-To: (Matthieu Longo's message of "Wed, 1 Jul 2026 14:34:49 +0100") References: <20260701121706.110679-1-matthieu.longo@arm.com> X-Attribution: Tom Date: Tue, 21 Jul 2026 10:55:27 -0600 Message-ID: <87zezkuvsw.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 75.166.225.82 X-Source-L: No X-Exim-ID: 1wmDke-00000001zOC-40cA X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:51746 X-Source-Auth: tom+tromey.com X-Email-Count: 14 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPDO/N3DoTttNu/ysDLQjvqZv3GN+sxuL7TT6CgN+REdDONy+D8fZL13kb+ahqJbY/Nd6j2mOraBvtGAy3GS5Mh4v2iCYI+tNwbawWkEVor55rzICJnM C1CYLDzkf1ikw1PiWwCjIZmcv2nIknIV+towD+YYDbzTeptQZQ/k6zqkXfeOYO5+6nyImjfJz6NSF7XjVOAH/JgYZYS5o+ztSBs= 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 >> That=C2=B4d be fine by me. We might want to do the deprecation dance and >> then drop from a future release. Matthieu> What do you mean by "deprecation dance" ? Matthieu> What would the steps be to get rid of this fallback ? A kind of normal thing to do would be to warn users that this is going to happen, and then make the change in release N+1. Another approach though might be to just remove the code, since it's so very old, and then have a fallback that warns if smaps is not found but maps is. gdb frequently struggles with removing dead code. We're not always sure it's truly dead, and some people out there run weird and/or antique setups. Tom