pushed: DWARF - support for arrays whose bound is a discriminant

Joel Brobecker brobecker@adacore.com
Thu Jan 29 16:09:00 GMT 2015


> This patch series enhances the debugger to properly handle the case
> where an array is declared inside a record, and some of its bounds
> are a discriminant. Eg:
> 
>        type Array_Type is array (Integer range <>) of Integer;
>        type Record_Type (N : Integer) is record
>           A : Array_Type (1 .. N);
>        end record;
> 
> We already properly support these kinds of objects in Ada, but
> only through the use of GNAT-specific encodings. What this set
> of patches does is add support from pure-DWARF constructs, with
> the intent of slowly phasing out those encodings.

Retested today, and then pushed to master...

-- 
Joel



More information about the Gdb-patches mailing list