public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/31427] New: DWARF expression evaluation misconception
@ 2024-02-28 15:56 tromey at sourceware dot org
  2024-02-28 17:33 ` [Bug symtab/31427] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-02-28 15:56 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31427

            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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-28 17:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 15:56 [Bug symtab/31427] New: DWARF expression evaluation misconception tromey at sourceware dot org
2024-02-28 17:33 ` [Bug symtab/31427] " tromey at sourceware dot org
2024-02-28 17:35 ` tromey at sourceware dot org
2024-02-28 17:43 ` tromey at sourceware dot org
2024-02-28 17:44 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).