[Bug tools/24509] eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-02 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24509 Mark Wielaard changed: What|Removed |Added Attachment #11760|0 |1 is obsolete|

Re: Dwarf_Op

2019-05-02 Thread Sasha Da Rocha Pinheiro
So why not a DW_OP_constu or DW_OP_consts and then a DW_OP_plus? About the Dwarf_Op array we get from dwarf_frame_register(), (which are a sequence of Dwarf expressions): are they suppose to be an abstraction to all types of dwarf location descriptions? Including Single (single and composite) a

[Bug tools/24509] eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-02 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24509 --- Comment #3 from Tom Tromey --- To check for negative values, I think you can add another clause, here's what I did: package Rng is type Rec (I : Integer) is record case I is when Positive => C : Character;

[Bug tools/24509] eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-02 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24509 --- Comment #2 from Tom Tromey --- Here's one that uses both ranges and discrete elements: package Rng is type Rec (I : Integer) is record case I is when Positive => C : Character; case I is