(Ada) Fix Length attribute on array access
[external/binutils.git] / gdb / ChangeLog
1 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2
3         * ada-lang.c (ada_array_length): Use ada_index_type instead of
4         TYPE_INDEX_TYPE.
5
6 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
7
8         * ada-lang.c (ada_to_fixed_value_create): Add handling of
9         the case where VALUE_LVAL (val0) is not lval_memory.
10
11 2018-01-05  Xavier Roirand  <roirand@adacore.com>
12
13         * ada-valprint.c (print_optional_low_bound): Handle
14         character-indexed array printing like boolean-indexed array
15         printing.
16
17 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
18
19         * NEWS: Create a new section for the next release branch.
20         Rename the section of the current branch, now that it has
21         been cut.
22
23 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
24
25         GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
26         * version.in: Bump version to 8.1.50.DATE-git.
27
28 2018-01-03  Xavier Roirand  <roirand@adacore.com>
29
30         * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
31         Add field.
32         * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
33         Add field.
34         (default_exception_support_info) <catch_handlers_sym>: Add field.
35         (exception_support_info_fallback) <catch_handlers_sym>: Add field.
36         (ada_exception_name_addr_1): Add "catch handlers" handling.
37         (ada_exception_catchpoint_cond_string) <ex>: New parameter.
38         Update all callers.
39         (create_excep_cond_exprs) <ex>: Add parameter.
40         (re_set_exception): Update create_excep_cond_exprs call.
41         (print_it_exception, print_one_exception, print_mention_exception)
42         (print_recreate_exception): Add "catch handler" handling.
43         (allocate_location_catch_handlers, re_set_catch_handlers)
44         (check_status_catch_handlers, print_it_catch_handlers)
45         (print_one_catch_handlers, print_mention_catch_handlers)
46         (print_recreate_catch_handlers): New function.
47         (catch_handlers_breakpoint_ops): New variable.
48         (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
49         Add parameter.  Add "catch handler" handling.
50         (ada_exception_sym_name, ada_exception_breakpoint_ops):
51         Add "catch handler" handling.
52         (ada_exception_catchpoint_cond_string): Add "catch handler"
53         handling.
54         (create_ada_exception_catchpoint): Update create_excep_cond_exprs
55         call.
56         (catch_ada_handlers_command): New function.
57         (initialize_ada_catchpoint_ops): Initialize "catch handlers"
58         operations structure.
59         (_initialize_ada_language): Add "catch handlers" command entry.
60         * NEWS: Document "catch handlers" feature.
61
62 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
63
64         * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
65         account when creating the array type of the slice.
66         (ada_value_slice): Likewise.
67
68 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
69
70         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
71         New enum value.
72         (create_array_type_with_stride): Add byte_stride_prop parameter.
73         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
74         New parameter.  Update all callers in this file.
75         (array_type_has_dynamic_stride): New function.
76         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
77         of arrays with dynamic byte strides.
78         * dwarf2read.c (read_array_type): Add support for dynamic
79         DW_AT_byte_stride attributes.
80
81 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
82
83         * dwarf2read.c (read_unspecified_type): Treat
84         DW_TAG_enumeration_type DIEs from Ada units as stubs.
85
86 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
87
88         Update copyright year range in all GDB files.
89
90 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
91
92         * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
93         and gdb/testsuite/gdb.base/step-line.c.
94
95 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
96
97         * copyright.py (main): Dump the contents of
98         MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
99         even if BY_HAND is empty.
100
101 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
102
103         * top.c (print_gdb_version): Update Copyright year in version
104         message.
105
106 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
107
108         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
109
110 For older changes see ChangeLog-2017.
111 \f
112 Local Variables:
113 mode: change-log
114 left-margin: 8
115 fill-column: 74
116 version-control: never
117 coding: utf-8
118 End: