This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/23662] New: gdb.Value does not understand discriminated unions


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

            Bug ID: 23662
           Summary: gdb.Value does not understand discriminated unions
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

Rust enums are now represented as discriminated unions in gdb.
gdb.Value should be extended to understand these.
The most basic support would be a way to find out which
member of the union is active.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]