From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1CRIEqym6GmYjTMAWB0awg (envelope-from ) for ; Wed, 22 Apr 2026 06:45:00 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=vrany.io header.i=@vrany.io header.a=rsa-sha256 header.s=protonmail3 header.b=VbwhvjyC; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 35B261E067; Wed, 22 Apr 2026 06:45:00 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.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,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED 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 99BB41E067 for ; Wed, 22 Apr 2026 06:44:57 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id D5B9540A1300 for ; Wed, 22 Apr 2026 10:44:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D5B9540A1300 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=vrany.io header.i=@vrany.io header.a=rsa-sha256 header.s=protonmail3 header.b=VbwhvjyC Received: from mail-4323.protonmail.ch (mail-4323.protonmail.ch [185.70.43.23]) by sourceware.org (Postfix) with ESMTPS id BD7DF48FEC03 for ; Wed, 22 Apr 2026 10:29:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD7DF48FEC03 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=vrany.io Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrany.io ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BD7DF48FEC03 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=185.70.43.23 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776853788; cv=none; b=fi9v/0dwAGpacfHZbMlv0+CMw7yp7wWXP+26GQ2/t5YphdBv2gg1QXPUgSztyhJO1MYIpNlDnmzvLe9x+IbQoy9VjNnS0/k1sA8tazJ2fI26embgpE30D7t9ZbKHSwW/xfpnuow709T+83T5rWfBiO9JcaaKZkiCwUkaAXbHI+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776853788; c=relaxed/simple; bh=BS+QEezjF8khOoidrzZnOvEzezU6y5cy7Zfu4/n5OYw=; h=DKIM-Signature:Date:To:From:Subject:Message-ID:MIME-Version; b=meqjdnsXwN7q9KLLne0/Mr36ErvLJ9anZkztp7Voz0wnImVrYi5sp1XXBOUK599ouI2V9vh/P4WGVKH0ga+PSgfydj03BvwkpxCyJwAg2l0jUcSTMdJ5OQZySeJxMNw5tZpdeANiCmg8wX2KDfp/vGdvtL40UghZW+KswfkYPL4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD7DF48FEC03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrany.io; s=protonmail3; t=1776853781; x=1777112981; bh=HSjD8xBYqZQjlM5cpy6mE7aQ4iTgD1UBWzVCXglZ6NA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=VbwhvjyCLs6vUMUsyX1D7YD0XOfrrnLaiPXwQ1Jye8+U22ShDXprT1EqTTIo6TZZ0 xHyvoZXZ79iz+ZSH78U6cZC0tWykGbSqnullOps0Jc6Pgh9nh/7GCe3ZcoTPjanbcW AH4xoXRXLAsw+7AGYj2CZyElk2XrJ4THj+V4PuJzxyRZDfryjmQv52dMbqOV0ep+an Ff2vWdTFmzdOb5SMLYt0UwV8rXU/46I3DyBKPwMzmD4s0MhirdjoRyerTMtLGgAx7u mqg6ehCNWb0a3q1RzxyGcYVafB36otYUyjNzWiSgF7ZY/tNj2CsPcW77hnfwCQhauq T8C6iTdjIA++g== Date: Wed, 22 Apr 2026 10:29:37 +0000 To: gdb-patches@sourceware.org From: Jan Vrany Cc: Jan Vrany Subject: [PATCH v3 0/7] Remove addrmap from blockvector Message-ID: <20260422102923.1185738-1-jan@vrany.io> In-Reply-To: <20260304165914.3209106-1-jan.vrany@labware.com> References: <20260304165914.3209106-1-jan.vrany@labware.com> Feedback-ID: 40767693:user:proton X-Pm-Message-ID: b7ee5d7c181bd6d0729f6d672376d96244af1b29 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 This is a v3 of an earlier series removing the addrmap from blockvector, a step towards expandable blockvectors which are needed for lazy CU expansion and forPython JIT API. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D33829 * v1 submission is here: https://inbox.sourceware.org/gdb-patches/20260219185638.360694-1-jan.vran= y@labware.com/ * v2 submission is here: https://inbox.sourceware.org/gdb-patches/20260304165914.3209106-1-jan.vra= ny@labware.com/ * changes since v3: * rebased on current master to accomodate changes in expanded_symbols_fun= ctions * re-tested on Linux x86_64 both with and without -readnow. I have spotte= d no regressions, but I need to say that on my machine and with my test setup a lot of tests fail with -readnow. Thanks! Jan --- Jan Vrany (7): gdb: implement readnow_functions::find_pc_sect_compunit_symtab gdb: update expanded_symbols_functions::find_pc_sect_compunit_symtab gdb: simplify find_compunit_symtab_for_pc_sect gdb: update blockvector::lookup to handle non-contiguous blocks gdb: do not set blockvector address map gdb: remove address map from struct blockvector gdb: add unit test for blockvector::lookup of non-contiguous blocks gdb/block-selftests.c | 156 +++++++++++++++++++++++++----------------- gdb/block.c | 34 ++++++--- gdb/block.h | 17 ++--- gdb/buildsym.c | 55 +-------------- gdb/dwarf2/read.c | 73 +++++++++++++++++--- gdb/expanded-symbol.c | 18 +++++ gdb/expanded-symbol.h | 8 +-- gdb/symtab.c | 91 ------------------------ 8 files changed, 206 insertions(+), 246 deletions(-) --=20 2.53.0