This is the mail archive of the gdb-patches@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]

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


> 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


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