From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id I5tIAOhumGllzAIAWB0awg (envelope-from ) for ; Fri, 20 Feb 2026 09:25:44 -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=vyvshJ8g; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DB1281E0BA; Fri, 20 Feb 2026 09:25:43 -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 5FBAA1E089 for ; Fri, 20 Feb 2026 09:25:43 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id E95CF4B9DB61 for ; Fri, 20 Feb 2026 14:25:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E95CF4B9DB61 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=vyvshJ8g Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id 96E9B4BA2E17 for ; Fri, 20 Feb 2026 14:25:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 96E9B4BA2E17 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 96E9B4BA2E17 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=1771597514; cv=none; b=baWV4Bcunz6xnaxCUXwehMgU0lfRKG1wPFRZbrta+w26sHeIom7oBYVYW2UCrzDR9sQqp/SYB7h/2N+M6D1E7KSXtJ29/G1T3htD8AQB6qLvJ1xR8hjkvaIPY1Iui8z9TcG/hyKMEj+32lSv/l1D3jr0ew59h3nH5iJRTyC6b9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771597514; c=relaxed/simple; bh=wHWok2l6+V9hHzm7+n0p96fekrs+84RWjgTKMbRCnlo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=fv8QuLO6WfV41e9pP6OD/HG2DyCsS2SjNDDaI/62ZoXhtfO66fRcGLIwOk4vnxX351UlkYHL9CeFK3YIXkw7OZjC8E9n615s4xpc6TvKVwtt9f/oBOoVWMPBvR0YR/8dd5q1mT+jWYGI8rVdyqukBviEkbEm7U+O3OhUwFuw8tA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96E9B4BA2E17 Received: from eig-obgw-6007b.ext.cloudfilter.net ([10.0.30.166]) by cmsmtp with ESMTPS id tR37vrzZQCxrGtRRSv209K; Fri, 20 Feb 2026 14:25:14 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id tRRQv87DKh8QWtRRRvtKWI; Fri, 20 Feb 2026 14:25:13 +0000 X-Authority-Analysis: v=2.4 cv=Mcdsu4/f c=1 sm=1 tr=0 ts=69986ec9 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=ItBw4LHWJt0A:10 a=TDl5R864AAAA:8 a=nvgTAxek1eMCbXywKJkA:9 a=QEXdDO2ut3YA:10 a=4IKI_MBedZsHOhguCAbN:22 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=eRN7Feo4FtzNxoIAAJt/ZBr/xIfOM36hEqnWO/B+iIk=; b=vyvshJ8gVHGpAo5ABirWM4L547 i0Y1/i8rxFh1f5TGX4oNo+XQpwbs+G88dWTWKfhF79V5j1lB51bAkunitOScLhHjBhze388Bvm+fH wFKbDGeMT//5OS9MLwNcz8O85; Received: from 97-122-122-234.hlrn.qwest.net ([97.122.122.234]:50090 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vtRRQ-00000003OxN-2mPx; Fri, 20 Feb 2026 07:25:12 -0700 From: Tom Tromey To: Jan =?utf-8?Q?Vran=C3=BD?= Cc: "tom@tromey.com" , "gdb-patches@sourceware.org" Subject: Re: [PATCH 1/7] gdb: implement readnow_functions::find_pc_sect_compunit_symtab In-Reply-To: <6bdb19fc83d8e9c75a32947f1420bfca30a375eb.camel@labware.com> ("Jan =?utf-8?Q?Vran=C3=BD=22's?= message of "Fri, 20 Feb 2026 12:36:31 +0000") References: <20260219185638.360694-1-jan.vrany@labware.com> <20260219185638.360694-2-jan.vrany@labware.com> <87ms144i5r.fsf@tromey.com> <6bdb19fc83d8e9c75a32947f1420bfca30a375eb.camel@labware.com> X-Attribution: Tom Date: Fri, 20 Feb 2026 07:25:11 -0700 Message-ID: <87342v3320.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: 97.122.122.234 X-Source-L: No X-Exim-ID: 1vtRRQ-00000003OxN-2mPx X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-122-234.hlrn.qwest.net (bapiya) [97.122.122.234]:50090 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPUI/SJwYIgbCZZGBbqPukwhf7KryYwxswohIDHi8ETmgj1NeuOHymfv+//ZhV2uOKaHqp23vysbtfuqriEv1kQb3DBiF6bMrukz92sN3VkdeD79pa/Q P0eeMHLqQwrAaJSuFUcD8lK1rtxWGWzMUiGG3ThhY6FlMxxQ26KD1mvaFayQ8+EF/alP5SD7wOqAFO+fLI9wUwZPwzi215DKJD0= 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 >>>>> "Jan" =3D=3D Jan Vran=C3=BD writes: Jan> Not always. dwarf2_base_index_functions::expand_all_symtabs skips=20 Jan> "partial symtabs", so in some cases not all symtabs are instantiated. A partial symtab should be expanded as a side effect of expanding any CU that includes it. Now, an orphan partial symtab will never be expanded -- but I think those are just an error and can be ignored. Instead of asserting that the symtab is set, perhaps this should be skipping partial units. Though I also wonder why it's referencing the DWARF data structures at all and not just working off the compunits. Tom