(Ada) New command to stop at start of exception handler.
[external/binutils.git] / gdb / ChangeLog
1 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2
3         * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
4         Add field.
5         * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
6         Add field.
7         (default_exception_support_info) <catch_handlers_sym>: Add field.
8         (exception_support_info_fallback) <catch_handlers_sym>: Add field.
9         (ada_exception_name_addr_1): Add "catch handlers" handling.
10         (ada_exception_catchpoint_cond_string) <ex>: New parameter.
11         Update all callers.
12         (create_excep_cond_exprs) <ex>: Add parameter.
13         (re_set_exception): Update create_excep_cond_exprs call.
14         (print_it_exception, print_one_exception, print_mention_exception)
15         (print_recreate_exception): Add "catch handler" handling.
16         (allocate_location_catch_handlers, re_set_catch_handlers)
17         (check_status_catch_handlers, print_it_catch_handlers)
18         (print_one_catch_handlers, print_mention_catch_handlers)
19         (print_recreate_catch_handlers): New function.
20         (catch_handlers_breakpoint_ops): New variable.
21         (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
22         Add parameter.  Add "catch handler" handling.
23         (ada_exception_sym_name, ada_exception_breakpoint_ops):
24         Add "catch handler" handling.
25         (ada_exception_catchpoint_cond_string): Add "catch handler"
26         handling.
27         (create_ada_exception_catchpoint): Update create_excep_cond_exprs
28         call.
29         (catch_ada_handlers_command): New function.
30         (initialize_ada_catchpoint_ops): Initialize "catch handlers"
31         operations structure.
32         (_initialize_ada_language): Add "catch handlers" command entry.
33         * NEWS: Document "catch handlers" feature.
34
35 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
36
37         * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
38         account when creating the array type of the slice.
39         (ada_value_slice): Likewise.
40
41 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
42
43         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
44         New enum value.
45         (create_array_type_with_stride): Add byte_stride_prop parameter.
46         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
47         New parameter.  Update all callers in this file.
48         (array_type_has_dynamic_stride): New function.
49         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
50         of arrays with dynamic byte strides.
51         * dwarf2read.c (read_array_type): Add support for dynamic
52         DW_AT_byte_stride attributes.
53
54 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
55
56         * dwarf2read.c (read_unspecified_type): Treat
57         DW_TAG_enumeration_type DIEs from Ada units as stubs.
58
59 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
60
61         Update copyright year range in all GDB files.
62
63 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
64
65         * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
66         and gdb/testsuite/gdb.base/step-line.c.
67
68 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
69
70         * copyright.py (main): Dump the contents of
71         MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
72         even if BY_HAND is empty.
73
74 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
75
76         * top.c (print_gdb_version): Update Copyright year in version
77         message.
78
79 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
80
81         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
82
83 For older changes see ChangeLog-2017.
84 \f
85 Local Variables:
86 mode: change-log
87 left-margin: 8
88 fill-column: 74
89 version-control: never
90 coding: utf-8
91 End: