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