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: [RFA/commit DWARF 1/2] Add support for dynamic DW_AT_byte_stride.


Hello,

> gdb/ChangeLog:
> 
>         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
>         New enum value.
>         (create_array_type_with_stride): Add byte_stride_prop parameter.
>         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
>         New parameter.  Update all callers in this file.
>         (array_type_has_dynamic_stride): New function.
>         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
>         of arrays with dynamic byte strides.
>         * dwarf2read.c (read_array_type): Add support for dynamic
>         DW_AT_byte_stride attributes.
> 
> gdb/testsuite/ChangeLog:
> 
>         * gdb.ada/dyn_stride: New testcase.

I pushed this patch (after having updated the copyright year range
for the new files -- in the new testcase).

-- 
Joel


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