This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
pushed: [RFA/commit DWARF 1/2] Add support for dynamic DW_AT_byte_stride.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Xavier Roirand <roirand at adacore dot com>
- Date: Tue, 2 Jan 2018 07:56:17 +0400
- Subject: pushed: [RFA/commit DWARF 1/2] Add support for dynamic DW_AT_byte_stride.
- Authentication-results: sourceware.org; auth=none
- References: <1513227213-37871-1-git-send-email-brobecker@adacore.com>
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