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

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Sat Sep 15 13:14:00 GMT 2018


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.


More information about the Gdb-prs mailing list