From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id VKVYEzSOmGmN7wIAWB0awg (envelope-from ) for ; Fri, 20 Feb 2026 11:39:16 -0500 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=yin6FWwT; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3A4D91E0BA; Fri, 20 Feb 2026 11:39:16 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.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,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED 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 8650C1E089 for ; Fri, 20 Feb 2026 11:39:15 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id E7AE44B9DB7B for ; Fri, 20 Feb 2026 16:39:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7AE44B9DB7B 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=yin6FWwT Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id 8E79E4BA2E1C for ; Fri, 20 Feb 2026 16:38:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E79E4BA2E1C 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 8E79E4BA2E1C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771605527; cv=none; b=jV6JW61KE0azUkVs23zDCXcP1DtBnNxTcPlzm3pi2QhbRtvjvQCbgCCNB5vlcK3T81mqVYzcLJMiXxFS3dOeomIlDaknxvVNKcsI37EgjCV3052HOw0Y10QVm8iwYPH0YfaZDORvzP0mwHX7EAmmroRDUng7Q/+zMbWwRxvS7ao= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771605527; c=relaxed/simple; bh=DQqNP77KlZGz/i6de35Y5ITGaFrV8ZAYvhyS2npfZDo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Rbdfdaey6LXGx2dG1so1Emfu6xKXwg8jmiHVwFZEri2pvkVnAfLZFS+ag+yYebakyzhBzn9sfQYfMaIg6dLEDvWd9JJo5aIwGvOfo2xCZuonotr7gING8WfB6NGCAw7jCahwEfkXwmFJpHsgUiiMhrgV4GGDfQTkzhHwHcmE2zk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E79E4BA2E1C Received: from eig-obgw-5002b.ext.cloudfilter.net ([10.0.29.226]) by cmsmtp with ESMTPS id tSuDvsdRaCxrGtTWhv3EjB; Fri, 20 Feb 2026 16:38:47 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id tTWevy03QN3K1tTWfvQ6DQ; Fri, 20 Feb 2026 16:38:45 +0000 X-Authority-Analysis: v=2.4 cv=UdRRSLSN c=1 sm=1 tr=0 ts=69988e17 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=HzLeVaNsDn8A:10 a=ItBw4LHWJt0A:10 a=CCpqsmhAAAAA:8 a=fUpkmAqDSVbscu2obfAA:9 a=ul9cdbp4aOFLsgKbc677:22 a=DCx65vhANUyCzuf5D8fC: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=7SNWUN6ji0R0/Gg7GQCYz4WXMOMn2HhrjmsaPQrf6T0=; b=yin6FWwTZOvHK2SwvsG2b6+Apg SylZgxMxiokvzrypimRtHwpPm31Wu1JUZOn22p5BiXkjmqtxC3V0WUp0qJigN1u82E/n0ZBHFRbn0 sI0Z1hQERzjhqhuJ+u8cuG045; Received: from 97-122-122-234.hlrn.qwest.net ([97.122.122.234]:46866 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vtTWe-00000000yGe-2nwn; Fri, 20 Feb 2026 09:38:44 -0700 From: Tom Tromey To: Jan =?utf-8?Q?Vran=C3=BD?= Cc: "tom@tromey.com" , "gdb-patches@sourceware.org" Subject: Re: [PATCH 5/7] gdb: update blockvector::lookup to handle non-contiguous blocks In-Reply-To: <809ee2577c174ff8134955d3d77d4b8fdd42f897.camel@labware.com> ("Jan =?utf-8?Q?Vran=C3=BD=22's?= message of "Fri, 20 Feb 2026 13:03:45 +0000") References: <20260219185638.360694-1-jan.vrany@labware.com> <20260219185638.360694-6-jan.vrany@labware.com> <87wm0832p4.fsf@tromey.com> <809ee2577c174ff8134955d3d77d4b8fdd42f897.camel@labware.com> X-Attribution: Tom Date: Fri, 20 Feb 2026 09:38:43 -0700 Message-ID: <87pl5z1ib0.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.122.234 X-Source-L: No X-Exim-ID: 1vtTWe-00000000yGe-2nwn X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-122-234.hlrn.qwest.net (bapiya) [97.122.122.234]:46866 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: MS4xfLlyG4q1kd3jg3+IMXqPmHfRSOaSHATEzoIG2c2YCYrtw4nr2QkhVmSq1VQORS++aIGgrvSMgaH6dvPO2iIEs+NJ7jzTJ7S6wA9bhTSJz+SBY2q8mCov TBilda+WqNqMtTSarKQXghr0uAgBgMI0qTfWF67uIscyMJYsyMEpU0ySqY97RsYk5OReB9WcbHJpall3ljL4bWqb11CEiHdITN4= 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 >> I glossed over this before but is this patch in this series? Jan> No, this is the patch "Fix debug_names function visibility" from your Jan> branch you said you'll check in [1]. I can include it if you prefer. Jan> [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=33829#c12 Oops, I forgot about this. I'll send it shortly. Jan> Other option I was thinking was to change make_blockranges to always sort then, Jan> then the assertions in set_ranges would be trivial and in block::contains one Jan> can binary-search block ranges too (though for up to ~4 ranges perhaps not worth). Lately I've been thinking that weirdness should be hidden in the readers and not exposed to the core. But putting stuff like this in "builder" code also seems fine. The main point is that core/generic code shouldn't have to cope with weirdness in the data structures, that should be ironed out when creating them. Jan> TBH I have no idea. How common is this, how many ranges blocks have, nor Jan> how to force compiler to produce such binary. Maybe torturing the compiler Jan> with -O3 and PGO? Yeah, maybe just an optimized LTO build of gdb would show it. Tom