1 2018-01-05 Pedro Alves <palves@redhat.com>
4 * ada-lang.c (literal_symbol_name_matcher): New function.
5 (ada_get_symbol_name_matcher): Use it for
6 symbol_name_match_type::SEARCH_NAME.
7 * block.c (block_lookup_symbol): New parameter 'match_type'. Pass
8 it down instead of assuming symbol_name_match_type::FULL.
9 * block.h (block_lookup_symbol): New parameter 'match_type'.
10 * c-valprint.c (print_unpacked_pointer): Use
11 lookup_symbol_search_name instead of lookup_symbol.
12 * compile/compile-object-load.c (get_out_value_type): Pass down
13 symbol_name_match_type::SEARCH_NAME.
14 * cp-namespace.c (cp_basic_lookup_symbol): Pass down
15 symbol_name_match_type::FULL.
16 * cp-support.c (cp_get_symbol_name_matcher): Handle
17 symbol_name_match_type::SEARCH_NAME.
18 * infrun.c (insert_exception_resume_breakpoint): Use
19 lookup_symbol_search_name.
20 * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
21 * psymtab.c (maintenance_check_psymtabs): Use
22 symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
23 * stack.c (print_frame_args): Use lookup_symbol_search_name and
25 * symtab.c (lookup_local_symbol): Don't demangle the lookup name
26 if symbol_name_match_type::SEARCH_NAME.
27 (lookup_symbol_in_language): Pass down
28 symbol_name_match_type::FULL.
29 (lookup_symbol_search_name): New.
30 (lookup_language_this): Pass down
31 symbol_name_match_type::SEARCH_NAME.
32 (lookup_symbol_aux, lookup_local_symbol): New parameter
33 'match_type'. Pass it down.
34 * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
35 (lookup_symbol_search_name): New declaration.
36 (lookup_symbol_in_block): New 'match_type' parameter.
38 2018-01-05 Pedro Alves <palves@redhat.com>
41 * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
43 (ada_lookup_symbol): Reimplement in terms of
44 ada_lookup_symbol_list, bits factored out from
45 ada_lookup_encoded_symbol.
47 2018-01-05 Joel Brobecker <brobecker@adacore.com>
49 * ada-exp.y (write_object_renaming): When subscripting an array
50 using a symbol as the index, pass the block in call to
51 ada_lookup_encoded_symbol when looking that symbol up.
53 2018-01-05 Jerome Guitton <guitton@adacore.com>
55 * ada-lang.c (ada_array_length): Use ada_index_type instead of
58 2018-01-05 Joel Brobecker <brobecker@adacore.com>
60 * ada-lang.c (ada_to_fixed_value_create): Add handling of
61 the case where VALUE_LVAL (val0) is not lval_memory.
63 2018-01-05 Xavier Roirand <roirand@adacore.com>
65 * ada-valprint.c (print_optional_low_bound): Handle
66 character-indexed array printing like boolean-indexed array
69 2018-01-05 Joel Brobecker <brobecker@adacore.com>
71 * NEWS: Create a new section for the next release branch.
72 Rename the section of the current branch, now that it has
75 2018-01-05 Joel Brobecker <brobecker@adacore.com>
77 GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
78 * version.in: Bump version to 8.1.50.DATE-git.
80 2018-01-03 Xavier Roirand <roirand@adacore.com>
82 * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
84 * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
86 (default_exception_support_info) <catch_handlers_sym>: Add field.
87 (exception_support_info_fallback) <catch_handlers_sym>: Add field.
88 (ada_exception_name_addr_1): Add "catch handlers" handling.
89 (ada_exception_catchpoint_cond_string) <ex>: New parameter.
91 (create_excep_cond_exprs) <ex>: Add parameter.
92 (re_set_exception): Update create_excep_cond_exprs call.
93 (print_it_exception, print_one_exception, print_mention_exception)
94 (print_recreate_exception): Add "catch handler" handling.
95 (allocate_location_catch_handlers, re_set_catch_handlers)
96 (check_status_catch_handlers, print_it_catch_handlers)
97 (print_one_catch_handlers, print_mention_catch_handlers)
98 (print_recreate_catch_handlers): New function.
99 (catch_handlers_breakpoint_ops): New variable.
100 (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
101 Add parameter. Add "catch handler" handling.
102 (ada_exception_sym_name, ada_exception_breakpoint_ops):
103 Add "catch handler" handling.
104 (ada_exception_catchpoint_cond_string): Add "catch handler"
106 (create_ada_exception_catchpoint): Update create_excep_cond_exprs
108 (catch_ada_handlers_command): New function.
109 (initialize_ada_catchpoint_ops): Initialize "catch handlers"
110 operations structure.
111 (_initialize_ada_language): Add "catch handlers" command entry.
112 * NEWS: Document "catch handlers" feature.
114 2018-01-02 Joel Brobecker <brobecker@adacore.com>
116 * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
117 account when creating the array type of the slice.
118 (ada_value_slice): Likewise.
120 2018-01-02 Joel Brobecker <brobecker@adacore.com>
122 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
124 (create_array_type_with_stride): Add byte_stride_prop parameter.
125 * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
126 New parameter. Update all callers in this file.
127 (array_type_has_dynamic_stride): New function.
128 (is_dynamic_type_internal, resolve_dynamic_array): Add handling
129 of arrays with dynamic byte strides.
130 * dwarf2read.c (read_array_type): Add support for dynamic
131 DW_AT_byte_stride attributes.
133 2018-01-02 Joel Brobecker <brobecker@adacore.com>
135 * dwarf2read.c (read_unspecified_type): Treat
136 DW_TAG_enumeration_type DIEs from Ada units as stubs.
138 2018-01-01 Joel Brobecker <brobecker@adacore.com>
140 Update copyright year range in all GDB files.
142 2018-01-01 Joel Brobecker <brobecker@adacore.com>
144 * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
145 and gdb/testsuite/gdb.base/step-line.c.
147 2018-01-01 Joel Brobecker <brobecker@adacore.com>
149 * copyright.py (main): Dump the contents of
150 MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
151 even if BY_HAND is empty.
153 2018-01-01 Joel Brobecker <brobecker@adacore.com>
155 * top.c (print_gdb_version): Update Copyright year in version
158 2018-01-01 Joel Brobecker <brobecker@adacore.com>
160 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
162 For older changes see ChangeLog-2017.
168 version-control: never