167aaf8e2081b377fe4e7b65b44d592ebda4e122
[external/binutils.git] / gdb / ChangeLog
1 2018-01-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2
3         * infrun.c (keep_going_pass_signal): Clear step-over info when
4         insert_breakpoints fails.
5
6 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
7
8         * version.in: Set GDB version number to 8.0.91.DATE-git.
9         * PROBLEMS: Likewise.
10
11 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
12
13         GDB 8.0.91 released.
14
15 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
16
17         * version.in: Set GDB version number to 8.0.91.
18         * PROBLEMS: Likewise.
19
20 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
21
22         * NEWS: Rename "Changes since 8.0" into "Changes in 8.1".
23
24 2018-01-11  Pedro Alves  <palves@redhat.com>
25
26         PR gdb/22583
27         * infrun.c (resume): Rename to ...
28         (resume_1): ... this.
29         (resume): Reimplement as wrapper around resume_1.
30
31 2018-01-11  Pedro Alves  <palves@redhat.com>
32
33         PR remote/22597
34         * remote.c (remote_parse_stop_reply): Default to the last-set
35         general thread instead of to 'magic_null_ptid'.
36
37 2018-01-10  Pedro Alves  <palves@redhat.com>
38
39         * language.h (language_get_symbol_name_matcher): Rename ...
40         (get_symbol_name_matcher): ... this.
41         * language.c (language_get_symbol_name_matcher): Ditto.
42         * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
43         callers adjusted.
44
45 2018-01-10  Pedro Alves  <palves@redhat.com>
46
47         PR gdb/22670
48         * dwarf2read.c
49         (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
50         Adjust to use language_get_symbol_name_matcher instead of
51         language_defn::la_get_symbol_name_matcher.
52         * language.c (language_get_symbol_name_matcher): If in Ada mode
53         and the lookup name is a verbatim match, return Ada's matcher.
54         * language.h (language_get_symbol_name_matcher): Adjust comment.
55         (ada_lookup_name_info::verbatim_p):: New method.
56
57 2018-01-10  Pedro Alves  <palves@redhat.com>
58
59         PR gdb/22670
60         * ada-lang.c (ada_collect_symbol_completion_matches): If the
61         minsym's language is language_auto or language_cplus, pass down
62         language_ada instead.
63         * symtab.c (compare_symbol_name): Don't frob symbol language here.
64
65 2018-01-10  Pedro Alves  <palves@redhat.com>
66
67         PR gdb/22670
68         * minsyms.c (linkage_name_str): New function.
69         (iterate_over_minimal_symbols): Use it.
70
71 2018-01-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72
73         * gdb/gnu-nat.c: Include <elf.h> and <link.h>.
74         (gnu_xfer_auxv): New function.
75         (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
76         TARGET_OBJECT_AUXV.
77
78 2018-01-08  Yao Qi  <yao.qi@linaro.org>
79             Simon Marchi  <simon.marchi@ericsson.com>
80
81         * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
82         common/selftest.c.
83         (COMMON_OBS): Remove selftest.o.
84         * configure.ac: Append selftest-arch.c and common/selftest.c to
85         CONFIG_SRCS.  Append selftest-arch.o and selftest.o to COMMON_OBS.
86         * configure: Re-generated.
87         * maint.c (maintenance_selftest): Wrap selftests::run_tests with
88         GDB_SELF_TEST.
89         (maintenance_info_selftests): Likewise.
90
91 2018-01-05  Pedro Alves  <palves@redhat.com>
92
93         PR gdb/18653
94         * common/signals-state-save-restore.c
95         (save_original_signals_state): New parameter 'quiet'.  Warn if we
96         find a custom handler preinstalled, instead of internal erroring.
97         But only warn if !quiet.
98         * common/signals-state-save-restore.h
99         (save_original_signals_state): New parameter 'quiet'.
100         * main.c (captured_main_1): Move save_original_signals_state call
101         after option handling, and pass QUIET.
102
103 2018-01-05  Pedro Alves  <palves@redhat.com>
104
105         * spu-tdep.c (spu_catch_start): Pass
106         symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
107
108 2018-01-05  Pedro Alves  <palves@redhat.com>
109
110         PR gdb/22670
111         * ada-lang.c (literal_symbol_name_matcher): New function.
112         (ada_get_symbol_name_matcher): Use it for
113         symbol_name_match_type::SEARCH_NAME.
114         * block.c (block_lookup_symbol): New parameter 'match_type'.  Pass
115         it down instead of assuming symbol_name_match_type::FULL.
116         * block.h (block_lookup_symbol): New parameter 'match_type'.
117         * c-valprint.c (print_unpacked_pointer): Use
118         lookup_symbol_search_name instead of lookup_symbol.
119         * compile/compile-object-load.c (get_out_value_type): Pass down
120         symbol_name_match_type::SEARCH_NAME.
121         * cp-namespace.c (cp_basic_lookup_symbol): Pass down
122         symbol_name_match_type::FULL.
123         * cp-support.c (cp_get_symbol_name_matcher): Handle
124         symbol_name_match_type::SEARCH_NAME.
125         * infrun.c (insert_exception_resume_breakpoint): Use
126         lookup_symbol_search_name.
127         * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
128         * psymtab.c (maintenance_check_psymtabs): Use
129         symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
130         * stack.c (print_frame_args): Use lookup_symbol_search_name and
131         SYMBOL_SEARCH_NAME.
132         * symtab.c (lookup_local_symbol): Don't demangle the lookup name
133         if symbol_name_match_type::SEARCH_NAME.
134         (lookup_symbol_in_language): Pass down
135         symbol_name_match_type::FULL.
136         (lookup_symbol_search_name): New.
137         (lookup_language_this): Pass down
138         symbol_name_match_type::SEARCH_NAME.
139         (lookup_symbol_aux, lookup_local_symbol): New parameter
140         'match_type'.  Pass it down.
141         * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
142         (lookup_symbol_search_name): New declaration.
143         (lookup_symbol_in_block): New 'match_type' parameter.
144
145 2018-01-05  Pedro Alves  <palves@redhat.com>
146
147         PR gdb/22670
148         * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
149         ada_lookup_symbol.
150         (ada_lookup_symbol): Reimplement in terms of
151         ada_lookup_symbol_list, bits factored out from
152         ada_lookup_encoded_symbol.
153
154 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
155
156         GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
157         * version.in: Bump version to 8.0.90.DATE-git.
158
159 2018-01-03  Xavier Roirand  <roirand@adacore.com>
160
161         * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
162         Add field.
163         * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
164         Add field.
165         (default_exception_support_info) <catch_handlers_sym>: Add field.
166         (exception_support_info_fallback) <catch_handlers_sym>: Add field.
167         (ada_exception_name_addr_1): Add "catch handlers" handling.
168         (ada_exception_catchpoint_cond_string) <ex>: New parameter.
169         Update all callers.
170         (create_excep_cond_exprs) <ex>: Add parameter.
171         (re_set_exception): Update create_excep_cond_exprs call.
172         (print_it_exception, print_one_exception, print_mention_exception)
173         (print_recreate_exception): Add "catch handler" handling.
174         (allocate_location_catch_handlers, re_set_catch_handlers)
175         (check_status_catch_handlers, print_it_catch_handlers)
176         (print_one_catch_handlers, print_mention_catch_handlers)
177         (print_recreate_catch_handlers): New function.
178         (catch_handlers_breakpoint_ops): New variable.
179         (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
180         Add parameter.  Add "catch handler" handling.
181         (ada_exception_sym_name, ada_exception_breakpoint_ops):
182         Add "catch handler" handling.
183         (ada_exception_catchpoint_cond_string): Add "catch handler"
184         handling.
185         (create_ada_exception_catchpoint): Update create_excep_cond_exprs
186         call.
187         (catch_ada_handlers_command): New function.
188         (initialize_ada_catchpoint_ops): Initialize "catch handlers"
189         operations structure.
190         (_initialize_ada_language): Add "catch handlers" command entry.
191         * NEWS: Document "catch handlers" feature.
192
193 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
194
195         * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
196         account when creating the array type of the slice.
197         (ada_value_slice): Likewise.
198
199 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
200
201         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
202         New enum value.
203         (create_array_type_with_stride): Add byte_stride_prop parameter.
204         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
205         New parameter.  Update all callers in this file.
206         (array_type_has_dynamic_stride): New function.
207         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
208         of arrays with dynamic byte strides.
209         * dwarf2read.c (read_array_type): Add support for dynamic
210         DW_AT_byte_stride attributes.
211
212 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
213
214         * dwarf2read.c (read_unspecified_type): Treat
215         DW_TAG_enumeration_type DIEs from Ada units as stubs.
216
217 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
218
219         Update copyright year range in all GDB files.
220
221 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
222
223         * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
224         and gdb/testsuite/gdb.base/step-line.c.
225
226 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
227
228         * copyright.py (main): Dump the contents of
229         MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
230         even if BY_HAND is empty.
231
232 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
233
234         * top.c (print_gdb_version): Update Copyright year in version
235         message.
236
237 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
238
239         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
240
241 For older changes see ChangeLog-2017.
242 \f
243 Local Variables:
244 mode: change-log
245 left-margin: 8
246 fill-column: 74
247 version-control: never
248 coding: utf-8
249 End: