From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B8D62386D638; Wed, 19 Jul 2023 10:07:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B8D62386D638 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689761242; bh=k+drailLsjlFQ2p4/9kWSZyFZpsKpSwjgpGhKuJ6j0o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kolB2TO0Xd51kZNq8VSyKIPMGbOJ1SdB4xNpJfHi8rl+i3Pw2D6ad73M0HwOvsYAM kTnAMyGtVF6kW88tmdph8ftLsykuQ5136bo2t73Rd9+ON454jZtiB2IJKz7eqYVHOj RxzpdUvZ4LxNBjN/3rJIJklqpLQxvUHtv/+Bo8SA= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30650] [gdb, lto] FAIL: gdb.gdb/python-helper.exp: print all_bfds Date: Wed, 19 Jul 2023 10:07:22 +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: 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=3D30650 --- Comment #8 from Tom de Vries --- I observe the following: - in set_initial_language we do a lookup of main, which expands the CU containing the all_bfds decl. - when setting a breakpoint on new_symbol conditional on sect_off =3D=3D all_bfds def, it doesn't trigger So, there seem to be two independent problems: - new_symbol should have been called for the all_bfds def - the all_bfds decl was not combined with the minimal symbol to get the address. --=20 You are receiving this mail because: You are on the CC list for the bug.=