From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D22F03858C52; Wed, 28 Feb 2024 15:56:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D22F03858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709135783; bh=irNl2aI4pyijAQ8Tnax5+sOiQIqO4aIWmUlT//5aN6Q=; h=From:To:Subject:Date:From; b=Tzo0lKULOKBmTRtsyBxsjpBZ1+9w4coHPqzQXEzt0BF/grUR5HHNZ36o9EM2EsIjO nQahpOhe1aBTpBsxVX+Rx+JVWXMUbiP5Li83KpYYLuOxHn0n3jezxKxLmKIHUiGspR /0kRmZyRZTKRyepmDj73UbUKqYyqfbhvz9oMFJw0= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/31427] New: DWARF expression evaluation misconception Date: Wed, 28 Feb 2024 15:56:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: tromey at sourceware dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D31427 Bug ID: 31427 Summary: DWARF expression evaluation misconception Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- This comes from: https://lists.dwarfstd.org/pipermail/dwarf-discuss/2024-February/002375.html https://dwarfstd.org/issues/181205.1.html gdb should reset the DWARF expression stack after a piece operation. Apparently nobody noticed this text in 2.6.1 "Single Location Descriptions": Each simple location description that is a DWARF expression is evaluated independently of any others. Also an empty first piece is ok. --=20 You are receiving this mail because: You are on the CC list for the bug.=