From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 802723858C52; Wed, 28 Feb 2024 17:43:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 802723858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709142229; bh=ae7l5Ne5rzSqFMYRhkHgMzhtAJFMilVOUHRbnkak3UE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i4V81B++sJUuYoBOnkWQdWfZROC3FW8vO7e3NuVcKzYHSODRGF1UxCfK1Mag7NuWS cf6wcbmgeQMspkk/OBrpQV8e8ddxxJ5rCjfQbndA5JU7414+T8vbzo6/eCmyBh9RW3 +neOXsqp4+HTBKtqmlSt6iizuomYrkWTSbbIc0cY= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/31427] DWARF expression evaluation misconception Date: Wed, 28 Feb 2024 17:43:48 +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: 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: 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=3D31427 --- Comment #3 from Tom Tromey --- (In reply to Tom Tromey from comment #1) > Maybe it can only be done in the situation where an initial > value must be pushed. Presumably in the pieced case, > the initial value must be pushed before each piece is > evaluated. It's hard to imagine this even being useful, as the cases where a value is pushed on the stack aren't really ones where a pieced result would be useful or expected. I'll attach my test case here but I think this bug is probably only of pedantic interest; and the bug in the rust support pointed out in those links is, I think, a problem in rust-lang.c. I'll file a separate bug for that. --=20 You are receiving this mail because: You are on the CC list for the bug.=