From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 178143858CDA; Mon, 14 Aug 2023 08:11:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 178143858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692000660; bh=DgZwDkBgNFw2PvP3ZgS+wND8hqNkyud144cVydWiAHo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=galhp9wGIqn9xM1YlLMUP/92gf8uDyAW/9WC7BSDySgHgasRQRVAH4eDtJETHx7QJ KAWsIfnu9UlOAkLHTgaukC1xrH7uBoyyk1QjBRWIz0y328BFemGkbwZzqVymgcaC6z IUvtcsF3uFaRikENK3mtAg7YrBMQ6wlDe1XmN+OU= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30738] [gdb/symtab, readnow] different symtab order gives different results Date: Mon, 14 Aug 2023 08:10:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30738 --- Comment #2 from Tom de Vries --- Created attachment 15054 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15054&action=3Ded= it Experiment patch I wrote this patch as an experiment: rather than storing in reverse expansi= on order, store in expansion order. This identified part objfile::map_symtabs_matching_filename as a place (the only one?) where we use compunit_symtabs as a means to retrieve recently expanded symtabs. There where fails in only two test-cases (gdb.mi/mi-sym-info.exp and gdb.python/py-symbol.exp), and those look like the test-cases just needs updating. --=20 You are receiving this mail because: You are on the CC list for the bug.=