Find arm-linux-gnueabi(hf)?-gcc in compile
[external/binutils.git] / gdb / ChangeLog
1 2018-01-19  Yao Qi  <yao.qi@linaro.org>
2
3         * osabi.c (gdb_osabi_names): Extend the regexp for
4         arm-linux-gnueabihf.
5
6 2018-01-18  Yao Qi  <yao.qi@linaro.org>
7
8         * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
9         m_abbrevs.
10         (abbrev_table::add_abbrev): Update.
11         (abbrev_table::lookup_abbrev): Update.
12
13 2018-01-18  Yao Qi  <yao.qi@linaro.org>
14
15         * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
16
17 2018-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
18
19         * compile/compile.c (compile_to_object): Convert "triplet_rx"
20         to "std::string".
21
22 2018-01-17  Tom Tromey  <tom@tromey.com>
23
24         * dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
25
26 2018-01-17  Tom Tromey  <tom@tromey.com>
27
28         * gdbtypes.h (add_dyn_prop): Remove objfile parameter.
29         * gdbtypes.c (add_dyn_prop): Remove objfile parameter.
30         (create_array_type_with_stride): Update.
31         * dwarf2read.c (set_die_type): Update.
32
33 2018-01-17  Tom Tromey  <tom@tromey.com>
34
35         * dwarf2read.c (delayed_method_info): Remove typedef.
36         (dwarf2_cu::method_info): Now a std::vector.
37         (add_to_method_list): Update.
38         (free_delayed_list): Remove.
39         (compute_delayed_physnames): Update.
40         (process_full_comp_unit, process_full_type_unit): Clear the method
41         list.  Remove cleanups.
42         (psymtab_include_file_name): Add name_holder parameter.  Use
43         unique_xmalloc_ptr.
44         (dwarf_decode_lines): Update.
45
46 2018-01-17  Tom Tromey  <tom@tromey.com>
47             Simon Marchi  <simon.marchi@ericsson.com>
48
49         * dwarf2read.c (struct dwarf2_cu): Add constructor, destructor.
50         (dwarf2_per_objfile::free_cached_comp_units)
51         (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
52         (init_cutu_and_read_dies_no_follow): Update.
53         (dwarf2_cu::dwarf2_cu): Rename from init_one_comp_unit.
54         (dwarf2_cu::~dwarf2_cu): New.
55         (free_heap_comp_unit, free_stack_comp_unit): Remove.
56         (age_cached_comp_units, free_one_cached_comp_unit): Update.
57
58 2018-01-17  Tom Tromey  <tom@tromey.com>
59             Simon Marchi  <simon.marchi@ericsson.com>
60
61         * dwarf2read.c (struct dwarf2_cu) <abbrev_table>: Remove.
62         (struct die_reader_specs) <abbrev_table>: New member.
63         (struct abbrev_table): Add constructor.
64         <alloc_abbrev, add_abbrev, lookup_abbrev>: Declare.
65         <abbrev_obstack>: Now an auto_obstack.
66         (abbrev_table_up): New typedef.
67         (init_cu_die_reader): Add abbrev_table parameter.
68         (read_cutu_die_from_dwo): Remove abbrev_table_provided parameter.
69         Add result_dwo_abbrev_table.
70         (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
71         (init_cutu_and_read_dies_no_follow, build_type_psymtabs_1):
72         Update.
73         (peek_die_abbrev): Take die_reader_specs, not dwarf_cu as
74         parameter.
75         (skip_children): Update.
76         (abbrev_table::alloc_abbrev): Rename from
77         abbrev_table_alloc_abbrev.
78         (abbrev_table::add_abbrev): Rename from abbrev_table_add_abbrev.
79         (abbrev_table::lookup_abbrev): Rename from
80         abbrev_table_lookup_abbrev.
81         (abbrev_table_read_table): Return abbrev_table_up.
82         (abbrev_table_free, abbrev_table_free_cleanup)
83         (dwarf2_read_abbrevs, dwarf2_free_abbrev_table): Remove.
84         (load_partial_dies): Update.
85
86 2018-01-17  Tom Tromey  <tom@tromey.com>
87
88         * dwarf2read.c (dwarf2_compute_name): Update comment.
89         (read_func_scope, read_variable): Update.
90         (new_symbol): Remove.
91         (new_symbol_full): Rename to new_symbol.
92
93 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
94
95         PR gdb/16577
96         * gdb_bfd.c (gdb_bfd_map_section): If unable to read object file, issue
97         a warning instead of throwing an error, set section size to 0 and return
98         NULL.
99         * gdb_bfd.h (gdb_bfd_map_section): Update description.
100
101 2018-01-17  Simon Marchi  <simon.marchi@ericsson.com>
102
103         * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Return
104         std::string.
105         (linux_ptrace_attach_fail_reason_string): Likewise.
106         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason):
107         Likewise.
108         (linux_ptrace_attach_fail_reason_string): Likewise.
109         * linux-nat.c (attach_proc_task_lwp_callback): Adjust.
110
111 2018-01-17  Simon Marchi  <simon.marchi@ericsson.com>
112
113         * linux-nat.c (linux_nat_attach): Remove xstrdup.
114
115 2018-01-17  Eldar Abusalimov  <eldar.abusalimov@jetbrains.com>
116
117         PR gdb/21559
118         * configure.ac: Include <sys/types.h> prior to <sys/user.h> when
119         checking for fs_base/gs_base fields in struct user_regs_struct.
120         * configure: Regenerate.
121
122 2018-01-17  Yao Qi  <yao.qi@linaro.org>
123
124         * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
125         function.
126         (aarch64_linux_init_abi): Install it to gdbarch hook
127         gcc_target_options.
128
129 2018-01-15  Pedro Alves  <palves@redhat.com>
130
131         * common/signals-state-save-restore.c
132         (save_original_signals_state): Fix typos.
133
134 2017-01-12  Tom Tromey  <tom@tromey.com>
135             Sergio Durigan Junior  <sergiodj@redhat.com>
136
137         * Makefile.in (install-only): Install gdb-add-index.
138
139 2018-01-12  John Baldwin  <jhb@FreeBSD.org>
140
141         * fbsd-tdep.c (KVE_PROTECTION): Correct value.
142
143 2018-01-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
144
145         * infrun.c (keep_going_pass_signal): Clear step-over info when
146         insert_breakpoints fails.
147
148 2018-01-11  Pedro Alves  <palves@redhat.com>
149
150         PR gdb/22583
151         * infrun.c (resume): Rename to ...
152         (resume_1): ... this.
153         (resume): Reimplement as wrapper around resume_1.
154
155 2018-01-11  Pedro Alves  <palves@redhat.com>
156
157         PR remote/22597
158         * remote.c (remote_parse_stop_reply): Default to the last-set
159         general thread instead of to 'magic_null_ptid'.
160
161 2018-01-10  Pedro Alves  <palves@redhat.com>
162
163         * language.h (language_get_symbol_name_matcher): Rename ...
164         (get_symbol_name_matcher): ... this.
165         * language.c (language_get_symbol_name_matcher): Ditto.
166         * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
167         callers adjusted.
168
169 2018-01-10  Pedro Alves  <palves@redhat.com>
170
171         PR gdb/22670
172         * dwarf2read.c
173         (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
174         Adjust to use language_get_symbol_name_matcher instead of
175         language_defn::la_get_symbol_name_matcher.
176         * language.c (language_get_symbol_name_matcher): If in Ada mode
177         and the lookup name is a verbatim match, return Ada's matcher.
178         * language.h (language_get_symbol_name_matcher): Adjust comment.
179         (ada_lookup_name_info::verbatim_p):: New method.
180
181 2018-01-10  Pedro Alves  <palves@redhat.com>
182
183         PR gdb/22670
184         * ada-lang.c (ada_collect_symbol_completion_matches): If the
185         minsym's language is language_auto or language_cplus, pass down
186         language_ada instead.
187         * symtab.c (compare_symbol_name): Don't frob symbol language here.
188
189 2018-01-10  Pedro Alves  <palves@redhat.com>
190
191         PR gdb/22670
192         * minsyms.c (linkage_name_str): New function.
193         (iterate_over_minimal_symbols): Use it.
194
195 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
196
197         * NEWS: Document that 'info proc' now works on FreeBSD.
198
199 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
200
201         * configure.ac: Check for kinfo_getfile in libutil.
202         * configure: Regenerate.
203         * config.in: Regenerate.
204         * fbsd-nat.c: Include "fbsd-tdep.h".
205         (fbsd_fetch_cmdline): New.
206         (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool
207         rather than calling error.
208         (fbsd_info_proc): New.
209         (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails.
210         (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails.
211         (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc".
212
213 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
214
215         * fbsd-nat.c (struct free_deleter): Remove.
216         (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>.
217
218 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
219
220         * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return
221         NULL for an empty pathname.
222
223 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
224
225         * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET)
226         (KVE_FLAGS, KVE_PROTECTION, KVE_PATH, KINFO_VME_PROT_READ)
227         (KINFO_VME_PROT_WRITE, KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW)
228         (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP)
229         (KINFO_VME_FLAG_SUPER, KINFO_VME_FLAG_GROWS_UP)
230         (KINFO_VME_FLAG_GROWS_DOWN, KF_STRUCTSIZE, KF_TYPE, KF_FD)
231         (KF_PATH, KINFO_FILE_TYPE_VNODE, KINFO_FILE_FD_TYPE_CWD)
232         (KINFO_FILE_FD_TYPE_TEXT, SIG_WORDS, struct kinfo_proc_layout)
233         (kinfo_proc_layout_32, kinfo_proc_layout_i386)
234         (kinfo_proc_layout_64, fbsd_vm_map_entry_flags)
235         (fbsd_core_info_proc_mappings, fbsd_core_vnode_path)
236         (fbsd_core_fetch_timeval, fbsd_print_sigset)
237         (fbsd_core_info_proc_status, fbsd_core_info_proc): New.
238         (fbsd_init_abi):  Install gdbarch "core_info_proc" method.
239         * fbsd-tdep.h (fbsd_vm_map_entry_flags): New.
240
241 2018-01-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
242
243         * gdb/gnu-nat.c: Include <elf.h> and <link.h>.
244         (gnu_xfer_auxv): New function.
245         (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
246         TARGET_OBJECT_AUXV.
247
248 2018-01-08  Yao Qi  <yao.qi@linaro.org>
249             Simon Marchi  <simon.marchi@ericsson.com>
250
251         * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
252         common/selftest.c.
253         (COMMON_OBS): Remove selftest.o.
254         * configure.ac: Append selftest-arch.c and common/selftest.c to
255         CONFIG_SRCS.  Append selftest-arch.o and selftest.o to COMMON_OBS.
256         * configure: Re-generated.
257         * maint.c (maintenance_selftest): Wrap selftests::run_tests with
258         GDB_SELF_TEST.
259         (maintenance_info_selftests): Likewise.
260
261 2018-01-08  Xavier Roirand  <roirand@adacore.com>
262
263         * ada-valprint.c (val_print_packed_array_elements): Use
264         proper number of elements when printing an array indexed
265         by an enumeration type.
266
267 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
268
269         * dwarf2read.c (struct dwarf2_cu) <dwarf2_per_objfile>: Remove.
270         (dw2_get_file_names_reader): Adjust.
271         (lookup_dwo_signatured_type): Adjust.
272         (lookup_dwp_signatured_type): Adjust.
273         (lookup_signatured_type): Adjust.
274         (create_type_unit_group): Adjust.
275         (get_type_unit_group): Adjust.
276         (process_psymtab_comp_unit_reader): Adjust.
277         (build_type_psymtabs_reader): Adjust.
278         (scan_partial_symbols): Adjust.
279         (add_partial_symbol): Adjust.
280         (add_partial_subprogram): Adjust.
281         (peek_die_abbrev): Adjust.
282         (fixup_go_packaging): Adjust.
283         (process_imported_unit_die): Adjust.
284         (dwarf2_compute_name): Adjust.
285         (dwarf2_physname): Adjust.
286         (read_import_statement): Adjust.
287         (handle_DW_AT_stmt_list): Adjust.
288         (read_file_scope): Adjust.
289         (read_func_scope): Adjust.
290         (read_lexical_block_scope): Adjust.
291         (read_call_site_scope): Adjust.
292         (read_variable): Adjust.
293         (dwarf2_rnglists_process): Adjust.
294         (dwarf2_ranges_process): Adjust.
295         (dwarf2_ranges_read): Adjust.
296         (dwarf2_get_pc_bounds): Adjust.
297         (dwarf2_record_block_ranges): Adjust.
298         (dwarf2_add_field): Adjust.
299         (dwarf2_add_member_fn): Adjust.
300         (read_structure_type): Adjust.
301         (process_structure_scope): Adjust.
302         (read_enumeration_type): Adjust.
303         (read_array_type): Adjust.
304         (mark_common_block_symbol_computed): Adjust.
305         (read_common_block): Adjust.
306         (read_namespace_type): Adjust.
307         (read_namespace): Adjust.
308         (read_module_type): Adjust.
309         (read_tag_pointer_type): Adjust.
310         (read_tag_ptr_to_member_type): Adjust.
311         (read_tag_string_type): Adjust.
312         (read_subroutine_type): Adjust.
313         (read_typedef): Adjust.
314         (read_base_type): Adjust.
315         (attr_to_dynamic_prop): Adjust.
316         (read_subrange_type): Adjust.
317         (read_unspecified_type): Adjust.
318         (dwarf2_read_abbrevs): Adjust.
319         (load_partial_dies): Adjust.
320         (read_partial_die): Adjust.
321         (find_partial_die): Adjust.
322         (guess_partial_die_structure_name): Adjust.
323         (fixup_partial_die): Adjust.
324         (read_attribute_value): Adjust.
325         (read_addr_index): Adjust.
326         (read_addr_index_from_leb128): Adjust.
327         (read_str_index): Adjust.
328         (dwarf2_string_attr): Adjust.
329         (get_debug_line_section): Adjust.
330         (dwarf_decode_line_header): Adjust.
331         (lnp_state_machine::check_line_address): Adjust.
332         (dwarf_decode_lines_1): Adjust.
333         (dwarf_decode_lines): Adjust.
334         (dwarf2_start_symtab): Adjust.
335         (var_decode_location): Adjust.
336         (new_symbol_full): Adjust.
337         (dwarf2_const_value_data): Adjust.
338         (dwarf2_const_value_attr): Adjust.
339         (dwarf2_const_value): Adjust.
340         (die_type): Adjust.
341         (die_containing_type): Adjust.
342         (build_error_marker_type): Adjust.
343         (lookup_die_type): Adjust.
344         (guess_full_die_structure_name): Adjust.
345         (anonymous_struct_prefix): Adjust.
346         (determine_prefix): Adjust.
347         (dwarf2_name): Adjust.
348         (follow_die_ref_or_sig): Adjust.
349         (follow_die_offset): Adjust.
350         (follow_die_ref): Adjust.
351         (follow_die_sig_1): Adjust.
352         (follow_die_sig): Adjust.
353         (get_signatured_type): Adjust.
354         (get_DW_AT_signature_type): Adjust.
355         (decode_locdesc): Adjust.
356         (dwarf_decode_macros): Adjust.
357         (cu_debug_loc_section): Adjust.
358         (fill_in_loclist_baton): Adjust.
359         (dwarf2_symbol_mark_computed): Adjust.
360         (init_one_comp_unit): Don't assign
361         dwarf2_cu::dwarf2_per_objfile.
362         (set_die_type): Adjust.
363
364 2018-01-07  Simon Marchi  <simon.marchi@ericsson.com>
365
366         * dwarf2read.c (struct mapped_debug_names): Add constructor.
367         <dwarf2_per_objfile>: New field.
368         (dwarf2_per_objfile): Remove global.
369         (get_dwarf2_per_objfile): New function.
370         (set_dwarf2_per_objfile): New function.
371         (dwarf2_build_psymtabs_hard): Change objfile parameter to
372         dwarf2_per_objfile.
373         (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
374         (read_abbrev_offset): Likewise.
375         (read_indirect_string): Likewise.
376         (read_indirect_line_string): Likewise.
377         (read_indirect_string_at_offset): Likewise.
378         (read_indirect_string_from_dwz): Likewise.
379         (dwarf2_find_containing_comp_unit): Change objfile parameter to
380         dwarf2_per_objfile.
381         (age_cached_comp_units): Add dwarf2_per_objfile parameter.
382         (create_all_comp_units): Change objfile parameter to
383         dwarf2_per_objfile.
384         (create_all_type_units): Likewise.
385         (process_queue): Add dwarf2_per_objfile parameter.
386         (read_and_check_comp_unit_head): Likewise.
387         (lookup_dwo_unit_in_dwp): Likewise.
388         (get_dwp_file): Likewise.
389         (process_cu_includes): Likewise.
390         (struct free_dwo_file_cleanup_data): New struct.
391         (dwarf2_has_info): Use get_dwarf2_per_objfile and
392         set_dwarf2_per_objfile.
393         (dwarf2_get_dwz_file): Add dwarf2_per_objfile parameter.
394         (dw2_do_instantiate_symtab): Get dwarf2_per_objfile from
395         context, adjust calls.
396         (dw2_instantiate_symtab): Likewise.
397         (dw2_get_cutu): Add dwarf2_per_objfile parameter.
398         (dw2_get_cu): Likewise.
399         (create_cu_from_index_list): Change objfile parameter to
400         dwarf2_per_objfile.
401         (create_cus_from_index_list): Get dwarf2_per_objfile from
402         context, adjust calls.
403         (create_cus_from_index): Likewise.
404         (create_signatured_type_table_from_index): Change objfile
405         parameter to dwarf2_per_objfile.
406         (create_signatured_type_table_from_debug_names): Change objfile
407         parameter to dwarf2_per_objfile.
408         (create_addrmap_from_index): Likewise.
409         (create_addrmap_from_aranges): Likewise.
410         (dwarf2_read_index): Use get_dwarf2_per_objfile, adjust calls.
411         (dw2_setup): Remove.
412         (dw2_get_file_names_reader): Get dwarf2_per_objfile from
413         context.
414         (dw2_find_last_source_symtab): Get dwarf2_per_objfile using
415         get_dwarf2_per_objfile.
416         (dw2_forget_cached_source_info): Likewise.
417         (dw2_map_symtabs_matching_filename): Likewise.
418         (struct dw2_symtab_iterator) <index>: Remove.
419         <dwarf2_per_objfile>: New field.
420         (dw2_symtab_iter_init): Replace index parameter with
421         dwarf2_per_objfile.
422         (dw2_symtab_iter_next): Use dwarf2_per_objfile from iter.
423         (dw2_lookup_symbol): Use get_dwarf2_per_objfile and adjust.
424         (dw2_print_stats): Likewise.
425         (dw2_dump): Likewise.
426         (dw2_expand_symtabs_for_function): Likewise.
427         (dw2_expand_all_symtabs): Likewise.
428         (dw2_expand_symtabs_with_fullname): Likewise.
429         (dw2_expand_marked_cus): Replace index and objfile parameters
430         with dwarf2_per_objfile.
431         (dw_expand_symtabs_matching_file_matcher): Add
432         dwarf2_per_objfile parameter and adjust calls.
433         (dw2_expand_symtabs_matching): Use get_dwarf2_per_objfile and
434         adjust calls.
435         (dw2_find_pc_sect_compunit_symtab): Don't call dw2_setup.
436         (dw2_map_symbol_filenames): Use get_dwarf2_per_objfile and
437         adjust calls.
438         (create_cus_from_debug_names_list): Replace objfile parameter
439         with dwarf2_per_objfile and adjust calls.
440         (create_cus_from_debug_names): Likewise.
441         (dwarf2_read_debug_names): Likewise.
442         (mapped_debug_names::namei_to_name): Adjust call.
443         (dw2_debug_names_iterator::next): Likewise.
444         (dw2_debug_names_iterator::find_vec_in_debug_names): Likewise.
445         (dw2_debug_names_lookup_symbol): Use get_dwarf2_per_objfile.
446         (dw2_debug_names_dump): Likewise.
447         (dw2_debug_names_expand_symtabs_for_function): Likewise.
448         (dw2_debug_names_expand_symtabs_matching): Likewise.
449         (dwarf2_initialize_objfile): Likewise.
450         (dwarf2_build_psymtabs): Likewise.
451         (get_abbrev_section_for_cu): Get dwarf2_per_objfile from
452         this_cu.
453         (error_check_comp_unit_head): Add dwarf2_per_objfile parameter.
454         (read_and_check_comp_unit_head): Likewise.
455         (read_abbrev_offset): Likewise.
456         (create_debug_type_hash_table): Likewise.
457         (create_debug_types_hash_table): Likewise.
458         (create_all_type_units): Replace objfile parameter with
459         dwarf2_per_objfile.
460         (add_type_unit): Add dwarf2_per_objfile parameter.
461         (fill_in_sig_entry_from_dwo_entry): Replace objfile parameter
462         with dwarf2_per_objfile.
463         (lookup_dwo_signatured_type): Get dwarf2_per_objfile from cu.
464         (lookup_dwp_signatured_type): Likewise.
465         (lookup_signatured_type): Likewise.
466         (read_cutu_die_from_dwo): Likewise.
467         (init_tu_and_read_dwo_dies): Likewise.
468         (init_cutu_and_read_dies): Likewise.
469         (init_cutu_and_read_dies_no_follow): Likewise.
470         (allocate_type_unit_groups_table): Add objfile parameter.
471         (create_type_unit_group): Use dwarf2_per_objfile from cu.
472         (get_type_unit_group): Likewise.
473         (process_psymtab_comp_unit): Update call.
474         (build_type_psymtabs_reader): Use dwarf2_per_objfile from cu.
475         (build_type_psymtabs_1): Add dwarf2_per_objfile parameter.
476         (print_tu_stats): Likewise.
477         (build_type_psymtab_dependencies): Use dwarf2_per_objfile passed
478         in void* parameter.
479         (build_type_psymtabs): Change objfile parameter to
480         dwarf2_per_objfile.
481         (process_skeletonless_type_unit): Use dwarf2_per_objfile
482         passed in void* parameter.
483         (process_skeletonless_type_units): Change objfile parameter to
484         dwarf2_per_objfile.
485         (set_partial_user): Likewise.
486         (dwarf2_build_psymtabs_hard): Likewise.
487         (read_comp_units_from_section): Likewise.
488         (create_all_comp_units): Likewise.
489         (scan_partial_symbols): Update calls.
490         (add_partial_symbol): Likewise.
491         (dwarf2_read_symtab): Use get_dwarf2_per_objfile.
492         (maybe_queue_comp_unit): Use dwarf2_read_symtab from cu.
493         (process_queue): Add dwarf2_per_objfile parameter.
494         (get_compunit_symtab): Use dwarf2_per_objfile from cu.
495         (compute_compunit_symtab_includes): Likewise.
496         (process_cu_includes): Add dwarf2_per_objfile parameter.
497         (process_full_comp_unit): Use dwarf2_per_objfile from cu.
498         (process_full_type_unit): Likewise.
499         (process_imported_unit_die): Update call.
500         (handle_DW_AT_stmt_list): Use dwarf2_per_objfile from cu.
501         (read_file_scope): Likewise.
502         (allocate_dwo_file_hash_table): Add objfile parameter.
503         (lookup_dwo_file_slot): Add dwarf2_per_objfile parameter.
504         (create_cus_hash_table): Likewise.
505         (create_dwp_hash_table): Likewise.
506         (create_dwo_unit_in_dwp_v1): Likewise.
507         (create_dwp_v2_section): Likewise.
508         (create_dwo_unit_in_dwp_v2): Likewise.
509         (lookup_dwo_unit_in_dwp): Likewise.
510         (try_open_dwop_file): Likewise.
511         (open_dwo_file): Likewise. Use dwarf2_per_objfile from cu.
512         (open_and_init_dwo_file): Use dwarf2_per_objfile from cu, update
513         cleanup to include a reference to dwarf2_per_objfile.
514         (open_dwp_file): Add dwarf2_per_objfile parameter.
515         (open_and_init_dwp_file): Likewise.
516         (get_dwp_file): Likewise.
517         (lookup_dwo_cutu): Use dwarf2_per_objfile from cu.
518         (queue_and_load_all_dwo_tus): Update call.
519         (free_dwo_file_cleanup): Use dwarf2_per_objfile from cleanup
520         data.
521         (dwarf2_rnglists_process): Use dwarf2_per_objfile from cu.
522         (dwarf2_ranges_process): Likewise.
523         (dwarf2_get_pc_bounds): Likewise.
524         (mark_common_block_symbol_computed): Likewise.
525         (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
526         (dwarf2_read_abbrevs): Update call.
527         (read_partial_die): Use dwarf2_per_objfile from cu.
528         (find_partial_die): Likewise.
529         (fixup_partial_die): Likewise.
530         (read_attribute_value): Likewise.
531         (read_indirect_string_at_offset_from): Add objfile parameter.
532         (read_indirect_string_at_offset): Add dwarf2_per_objfile
533         parameter.
534         (read_indirect_string_from_dwz): Add objfile parameter.
535         (read_indirect_string): Add objfile parameter.
536         (read_addr_index_1): Add dwarf2_per_objfile parameter.
537         (read_addr_index): Use dwarf2_per_objfile from cu.
538         (dwarf2_read_addr_index): Use dwarf2_per_objfile from cu, don't
539         call dw2_setup.
540         (read_str_index): Use dwarf2_per_objfile from cu.
541         (get_debug_line_section): Likewise.
542         (read_formatted_entries): Add dwarf2_per_objfile parameter.
543         (dwarf_decode_line_header): Use dwarf2_per_objfile from cu.
544         (new_symbol_full): Use dwarf2_per_objfile from cu.
545         (build_error_marker_type): Likewise.
546         (lookup_die_type): Likewise.
547         (determine_prefix): Likewise.
548         (follow_die_offset): Likewise.
549         (dwarf2_fetch_die_loc_sect_off): Use get_dwarf2_per_objfile.
550         (dwarf2_fetch_constant_bytes): Don't call dw2_setup.
551         (dwarf2_fetch_die_type_sect_off): Likewise.
552         (dwarf2_get_die_type): Likewise.
553         (follow_die_sig_1): Use dwarf2_per_objfile from cu.
554         (get_signatured_type): Likewise.
555         (get_DW_AT_signature_type): Likewise.
556         (dwarf_decode_macro_bytes): Add dwarf2_per_objfile parameter.
557         (dwarf_decode_macros): Use dwarf2_per_objfile from cu.
558         (cu_debug_loc_section): Likewise.
559         (fill_in_loclist_baton): Likewise.
560         (dwarf2_symbol_mark_computed): Likewise.
561         (dwarf2_find_containing_comp_unit): Change objfile parameter to
562         dwarf2_per_objfile.
563         (free_cached_comp_units): Use dwarf2_per_objfile passed in void*
564         parameter.
565         (age_cached_comp_units): Add dwarf2_per_objfile parameter.
566         (free_one_cached_comp_unit): Use dwarf2_per_objfile from cu.
567         (dwarf2_free_objfile): Use get_dwarf2_per_objfile.
568         (set_die_type): Use dwarf2_free_objfile from cu.
569         (get_die_type_at_offset): Likewise.
570         (dwarf2_per_objfile_free): Don't assign global variable.
571         (debug_names) <constructor>: Add dwarf2_per_objfile
572         parameter, update m_debugstrlookup construction.
573         (debug_names::debug_str_lookup): Add dwarf2_per_objfile
574         parameter.
575         <m_dwarf2_per_objfile>: New field.
576         <lookup>: Use m_dwarf2_per_objfile.
577         (check_dwarf64_offsets): Add dwarf2_per_objfile parameter.
578         (psyms_seen_size): Likewise.
579         (write_gdbindex): Replace objfile parameter with
580         dwarf2_per_objfile.
581         (write_debug_names): Likewise.
582         (write_psymtabs_to_index): Likewise.
583         (save_gdb_index_command): Use get_dwarf2_per_objfile, update
584         calls.
585
586 2018-01-07  Simon Marchi  <simon.marchi@ericsson.com>
587
588         * dwarf2read.c (struct dwarf2_cu) <objfile>: Remove.
589         <dwarf2_per_objfile>: New field.
590         (struct dwarf2_per_cu_data) <objfile>: Remove.
591         <dwarf2_per_objfile>: New field.
592         (create_cu_from_index_list): Assign dwarf2_per_objfile instead
593         of objfile.
594         (create_signatured_type_table_from_index): Likewise.
595         (create_debug_type_hash_table): Likewise.
596         (fill_in_sig_entry_from_dwo_entry): Likewise.
597         (lookup_dwo_unit): Access objfile through dwarf2_per_objfile.
598         (create_type_unit_group): Assign dwarf2_per_objfile instead of
599         objfile.
600         (create_partial_symtab): Access objfile through
601         dwarf2_per_objfile.
602         (process_psymtab_comp_unit_reader): Likewise.
603         (read_comp_units_from_section): Likewise.
604         (scan_partial_symbols): Likewise.
605         (add_partial_symbol): Likewise.
606         (add_partial_subprogram): Likewise.
607         (peek_die_abbrev): Likewise.
608         (fixup_go_packaging): Likewise.
609         (process_full_comp_unit): Likewise.
610         (process_full_type_unit): Likewise.
611         (process_imported_unit_die): Likewise.
612         (dwarf2_compute_name): Likewise.
613         (dwarf2_physname): Likewise.
614         (read_import_statement): Likewise.
615         (create_cus_hash_table): Assign dwarf2_physname instead of
616         objfile.
617         (read_func_scope): Access objfile through dwarf2_per_objfile.
618         (read_lexical_block_scope): Likewise.
619         (read_call_site_scope): Likewise.
620         (read_variable): Likewise.
621         (dwarf2_rnglists_process): Likewise.
622         (dwarf2_ranges_process): Likewise.
623         (dwarf2_ranges_read): Likewise.
624         (dwarf2_record_block_ranges): Likewise.
625         (dwarf2_add_field): Likewise.
626         (dwarf2_add_member_fn): Likewise.
627         (read_structure_type): Likewise.
628         (process_structure_scope): Likewise.
629         (read_enumeration_type): Likewise.
630         (read_array_type): Likewise.
631         (read_common_block): Likewise.
632         (read_namespace_type): Likewise.
633         (read_namespace): Likewise.
634         (read_module_type): Likewise.
635         (read_tag_pointer_type): Likewise.
636         (read_tag_ptr_to_member_type): Likewise.
637         (read_tag_string_type): Likewise.
638         (read_subroutine_type): Likewise.
639         (read_typedef): Likewise.
640         (read_base_type): Likewise.
641         (attr_to_dynamic_prop): Likewise.
642         (read_subrange_type): Likewise.
643         (read_unspecified_type): Likewise.
644         (load_partial_dies): Likewise.
645         (read_partial_die): Likewise.
646         (find_partial_die): Likewise.
647         (guess_partial_die_structure_name): Likewise.
648         (fixup_partial_die): Likewise.
649         (read_attribute_value): Likewise.
650         (read_addr_index_from_leb128): Likewise.
651         (dwarf2_read_addr_index): Likewise.
652         (dwarf2_string_attr): Likewise.
653         (lnp_state_machine::check_line_address): Likewise.
654         (dwarf_decode_lines_1): Likewise.
655         (dwarf_decode_lines): Likewise.
656         (dwarf2_start_symtab): Likewise.
657         (var_decode_location): Likewise.
658         (new_symbol_full): Likewise.
659         (dwarf2_const_value_data): Likewise.
660         (dwarf2_const_value_attr): Likewise.
661         (dwarf2_const_value): Likewise.
662         (die_type): Likewise.
663         (die_containing_type): Likewise.
664         (lookup_die_type): Likewise.
665         (guess_full_die_structure_name): Likewise.
666         (anonymous_struct_prefix): Likewise.
667         (dwarf2_name): Likewise.
668         (follow_die_ref_or_sig): Likewise.
669         (follow_die_offset): Likewise.
670         (follow_die_ref): Likewise.
671         (dwarf2_fetch_die_loc_sect_off): Likewise.
672         (dwarf2_fetch_constant_bytes): Likewise.
673         (dwarf2_fetch_die_type_sect_off): Likewise.
674         (dwarf2_get_die_type): Likewise.
675         (follow_die_sig): Likewise.
676         (decode_locdesc): Likewise.
677         (dwarf2_per_cu_objfile): Likewise.
678         (dwarf2_per_cu_text_offset): Likewise.
679         (init_one_comp_unit): Assign dwarf2_per_objfile instead of
680         objfile.
681         (set_die_type): Access objfile through
682         dwarf2_per_objfile.
683
684 2018-01-07  Simon Marchi  <simon.marchi@ericsson.com>
685
686         * valprint.c (converted_character_d): Remove typedef.
687         (DEF_VEC_O (converted_character_d)): Remove.
688         (count_next_character): Use std::vector.
689         (print_converted_chars_to_obstack): Likewise.
690         (generic_printstr): Likewise.
691
692 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
693
694         * xml-support.h (struct gdb_xml_value): Add constructor.
695         <value>: Change type to unique_xmalloc_ptr.
696         (gdb_xml_value_s): Remove typedef.
697         (DEF_VEC_O (gdb_xml_value_s)): Remove.
698         (gdb_xml_element_start_handler): Change parameter type to
699         std::vector.
700         (xml_find_attribute): Likewise.
701         * xml-support.c (xml_find_attribute): Change parameter type to
702         std::vector and adjust.
703         (gdb_xml_values_cleanup): Remove.
704         (gdb_xml_parser::start_element): Adjust to std::vector.
705         (xinclude_start_include): Change paraeter type to std::vector
706         and adjust.
707         * btrace.c (check_xml_btrace_version): Likewise.
708         (parse_xml_btrace_block): Likewise.
709         (parse_xml_btrace_pt_config_cpu): Likewise.
710         (parse_xml_btrace_pt): Likewise.
711         (parse_xml_btrace_conf_bts): Likewise.
712         (parse_xml_btrace_conf_pt): Likewise.
713         * memory-map.c (memory_map_start_memory): Likewise.
714         (memory_map_start_property): Likewise.
715         * osdata.c (osdata_start_osdata): Likewise.
716         (osdata_start_item): Likewise.
717         (osdata_start_column): Likewise.
718         * remote.c (start_thread): Likewise.
719         * solib-aix.c (library_list_start_library): Likewise.
720         (library_list_start_list): Likewise.
721         * solib-svr4.c (library_list_start_library): Likewise.
722         (svr4_library_list_start_list): Likewise.
723         * solib-target.c (library_list_start_segment): Likewise.
724         (library_list_start_section): Likewise.
725         (library_list_start_library): Likewise.
726         (library_list_start_list): Likewise.
727         * tracepoint.c (traceframe_info_start_memory): Likewise.
728         (traceframe_info_start_tvar): Likewise.
729         * xml-syscall.c (syscall_start_syscall): Likewise.
730         * xml-tdesc.c (tdesc_start_target): Likewise.
731         (tdesc_start_feature): Likewise.
732         (tdesc_start_reg): Likewise.
733         (tdesc_start_union): Likewise.
734         (tdesc_start_struct): Likewise.
735         (tdesc_start_flags): Likewise.
736         (tdesc_start_enum): Likewise.
737         (tdesc_start_field): Likewise.
738         (tdesc_start_enum_value): Likewise.
739         (tdesc_start_vector): Likewise.
740
741 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
742
743         * extension.h (struct xmethod_worker) <clone>: Remove.
744         * python/py-xmethods.c (struct python_xmethod_worker) <clone>:
745         Remove.
746         (python_xmethod_worker::clone): Remove.
747         * valops.c (find_overload_match): Use std::move instead of
748         clone.
749
750 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
751
752         * extension-priv.h (enum ext_lang_rc): Remove, move to extension.h.
753         (struct extension_language_ops) <clone_xmethod_worker_data>: Remove.
754         <free_xmethod_worker_data>: Remove.
755         <get_matching_xmethod_workers>: Chance VEC to std::vector.
756         <get_xmethod_arg_types>: Remove.
757         <get_xmethod_result_type>: Remove.
758         <invoke_xmethod>: Remove.
759         * extension.c (new_xmethod_worker): Remove.
760         (clone_xmethod_worker): Remove.
761         (get_matching_xmethod_workers): Return void, pass std::vector by
762         pointer.
763         (get_xmethod_arg_types): Rename to...
764         (xmethod_worker::get_arg_types): ... this, and adjust.
765         (get_xmethod_result_type): Rename to...
766         (xmethod_worker::get_result_type): ... this, and adjust.
767         (invoke_xmethod): Remove.
768         (free_xmethod_worker): Remove.
769         (free_xmethod_worker_vec): Remove.
770         * extension.h (enum ext_lang_rc): Move here from
771         extension-priv.h.
772         (struct xmethod_worker): Add constructor and destructor.
773         <data>: Remove.
774         <value>: Remove.
775         <invoke, clone, do_get_result_type, do_get_arg_types>: New
776         virtual pure methods.
777         <get_arg_types, get_result_type>: New methods.
778         (xmethod_worker_ptr): Remove typedef.
779         (DEF_VEC_P (xmethod_worker_ptr)): Remove.
780         (xmethod_worker_vec): Remove typedef.
781         (xmethod_worker_up): New typedef.
782         (invoke_xmethod): Remove.
783         (clone_xmethod_worker): Remove.
784         (free_xmethod_worker): Remove.
785         (free_xmethod_worker_vec): Remove.
786         (get_xmethod_arg_types): Remove.
787         (get_xmethod_result_type): Remove.
788         * valops.c (find_method_list): Use std::vector, don't use
789         intermediate vector.
790         (value_find_oload_method_list): Use std::vector.
791         (find_overload_match): Use std::vector.
792         (find_oload_champ): Use std::vector.
793         * value.c (value_free): Use operator delete.
794         (value_of_xmethod): Rename to...
795         (value_from_xmethod): ... this.  Don't assign
796         xmethod_worker::value, take rvalue-reference.
797         (result_type_of_xmethod): Adjust.
798         (call_xmethod): Adjust.
799         * value.h: Include extension.h.
800         (struct xmethod_worker): Don't forward-declare.
801         (value_of_xmethod): Rename to...
802         (value_from_xmethod): ... this, take rvalue-reference.
803         * python/py-xmethods.c (struct gdbpy_worker_data): Rename to...
804         (struct python_xmethod_worker): ... this, add constructor and
805         destructor.
806         <invoke, clone, do_get_arg_types, do_get_result_type>: Implement.
807         (gdbpy_free_xmethod_worker_data): Rename to...
808         (python_xmethod_worker::~python_xmethod_worker): ... this and
809         adjust.
810         (gdbpy_clone_xmethod_worker_data): Rename to...
811         (python_xmethod_worker::clone): ... this and adjust.
812         (gdbpy_get_matching_xmethod_workers): Use std::vector, don't use
813         temporary vector.
814         (gdbpy_get_xmethod_arg_types): Rename to...
815         (python_xmethod_worker::do_get_arg_types): ... this and adjust.
816         (gdbpy_get_xmethod_result_type): Rename to...
817         (python_xmethod_worker::do_get_result_type): ... this and
818         adjust.
819         (gdbpy_invoke_xmethod): Rename to...
820         (python_xmethod_worker::invoke): ... this and adjust.
821         (new_python_xmethod_worker): Rename to...
822         (python_xmethod_worker::python_xmethod_worker): ... this and
823         adjust.
824         * python/python-internal.h (gdbpy_clone_xmethod_worker_data):
825         Remove.
826         (gdbpy_free_xmethod_worker_data): Remove.
827         (gdbpy_get_matching_xmethod_workers): Use std::vector.
828         (gdbpy_get_xmethod_arg_types): Remove.
829         (gdbpy_get_xmethod_result_type): Remove.
830         (gdbpy_invoke_xmethod): Remove.
831         * python/python.c (python_extension_ops): Remove obsolete
832         callbacks.
833
834 2018-01-05  Pedro Alves  <palves@redhat.com>
835
836         PR gdb/18653
837         * common/signals-state-save-restore.c
838         (save_original_signals_state): New parameter 'quiet'.  Warn if we
839         find a custom handler preinstalled, instead of internal erroring.
840         But only warn if !quiet.
841         * common/signals-state-save-restore.h
842         (save_original_signals_state): New parameter 'quiet'.
843         * main.c (captured_main_1): Move save_original_signals_state call
844         after option handling, and pass QUIET.
845
846 2018-01-05  Pedro Alves  <palves@redhat.com>
847
848         * spu-tdep.c (spu_catch_start): Pass
849         symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
850
851 2018-01-05  Pedro Alves  <palves@redhat.com>
852
853         PR gdb/22670
854         * ada-lang.c (literal_symbol_name_matcher): New function.
855         (ada_get_symbol_name_matcher): Use it for
856         symbol_name_match_type::SEARCH_NAME.
857         * block.c (block_lookup_symbol): New parameter 'match_type'.  Pass
858         it down instead of assuming symbol_name_match_type::FULL.
859         * block.h (block_lookup_symbol): New parameter 'match_type'.
860         * c-valprint.c (print_unpacked_pointer): Use
861         lookup_symbol_search_name instead of lookup_symbol.
862         * compile/compile-object-load.c (get_out_value_type): Pass down
863         symbol_name_match_type::SEARCH_NAME.
864         * cp-namespace.c (cp_basic_lookup_symbol): Pass down
865         symbol_name_match_type::FULL.
866         * cp-support.c (cp_get_symbol_name_matcher): Handle
867         symbol_name_match_type::SEARCH_NAME.
868         * infrun.c (insert_exception_resume_breakpoint): Use
869         lookup_symbol_search_name.
870         * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
871         * psymtab.c (maintenance_check_psymtabs): Use
872         symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
873         * stack.c (print_frame_args): Use lookup_symbol_search_name and
874         SYMBOL_SEARCH_NAME.
875         * symtab.c (lookup_local_symbol): Don't demangle the lookup name
876         if symbol_name_match_type::SEARCH_NAME.
877         (lookup_symbol_in_language): Pass down
878         symbol_name_match_type::FULL.
879         (lookup_symbol_search_name): New.
880         (lookup_language_this): Pass down
881         symbol_name_match_type::SEARCH_NAME.
882         (lookup_symbol_aux, lookup_local_symbol): New parameter
883         'match_type'.  Pass it down.
884         * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
885         (lookup_symbol_search_name): New declaration.
886         (lookup_symbol_in_block): New 'match_type' parameter.
887
888 2018-01-05  Pedro Alves  <palves@redhat.com>
889
890         PR gdb/22670
891         * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
892         ada_lookup_symbol.
893         (ada_lookup_symbol): Reimplement in terms of
894         ada_lookup_symbol_list, bits factored out from
895         ada_lookup_encoded_symbol.
896
897 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
898
899         * ada-exp.y (write_object_renaming): When subscripting an array
900         using a symbol as the index, pass the block in call to
901         ada_lookup_encoded_symbol when looking that symbol up.
902
903 2018-01-05  Jerome Guitton  <guitton@adacore.com>
904
905         * ada-lang.c (ada_array_length): Use ada_index_type instead of
906         TYPE_INDEX_TYPE.
907
908 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
909
910         * ada-lang.c (ada_to_fixed_value_create): Add handling of
911         the case where VALUE_LVAL (val0) is not lval_memory.
912
913 2018-01-05  Xavier Roirand  <roirand@adacore.com>
914
915         * ada-valprint.c (print_optional_low_bound): Handle
916         character-indexed array printing like boolean-indexed array
917         printing.
918
919 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
920
921         * NEWS: Create a new section for the next release branch.
922         Rename the section of the current branch, now that it has
923         been cut.
924
925 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
926
927         GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
928         * version.in: Bump version to 8.1.50.DATE-git.
929
930 2018-01-03  Xavier Roirand  <roirand@adacore.com>
931
932         * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
933         Add field.
934         * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
935         Add field.
936         (default_exception_support_info) <catch_handlers_sym>: Add field.
937         (exception_support_info_fallback) <catch_handlers_sym>: Add field.
938         (ada_exception_name_addr_1): Add "catch handlers" handling.
939         (ada_exception_catchpoint_cond_string) <ex>: New parameter.
940         Update all callers.
941         (create_excep_cond_exprs) <ex>: Add parameter.
942         (re_set_exception): Update create_excep_cond_exprs call.
943         (print_it_exception, print_one_exception, print_mention_exception)
944         (print_recreate_exception): Add "catch handler" handling.
945         (allocate_location_catch_handlers, re_set_catch_handlers)
946         (check_status_catch_handlers, print_it_catch_handlers)
947         (print_one_catch_handlers, print_mention_catch_handlers)
948         (print_recreate_catch_handlers): New function.
949         (catch_handlers_breakpoint_ops): New variable.
950         (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
951         Add parameter.  Add "catch handler" handling.
952         (ada_exception_sym_name, ada_exception_breakpoint_ops):
953         Add "catch handler" handling.
954         (ada_exception_catchpoint_cond_string): Add "catch handler"
955         handling.
956         (create_ada_exception_catchpoint): Update create_excep_cond_exprs
957         call.
958         (catch_ada_handlers_command): New function.
959         (initialize_ada_catchpoint_ops): Initialize "catch handlers"
960         operations structure.
961         (_initialize_ada_language): Add "catch handlers" command entry.
962         * NEWS: Document "catch handlers" feature.
963
964 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
965
966         * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
967         account when creating the array type of the slice.
968         (ada_value_slice): Likewise.
969
970 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
971
972         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
973         New enum value.
974         (create_array_type_with_stride): Add byte_stride_prop parameter.
975         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
976         New parameter.  Update all callers in this file.
977         (array_type_has_dynamic_stride): New function.
978         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
979         of arrays with dynamic byte strides.
980         * dwarf2read.c (read_array_type): Add support for dynamic
981         DW_AT_byte_stride attributes.
982
983 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
984
985         * dwarf2read.c (read_unspecified_type): Treat
986         DW_TAG_enumeration_type DIEs from Ada units as stubs.
987
988 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
989
990         Update copyright year range in all GDB files.
991
992 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
993
994         * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
995         and gdb/testsuite/gdb.base/step-line.c.
996
997 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
998
999         * copyright.py (main): Dump the contents of
1000         MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
1001         even if BY_HAND is empty.
1002
1003 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1004
1005         * top.c (print_gdb_version): Update Copyright year in version
1006         message.
1007
1008 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1009
1010         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
1011
1012 For older changes see ChangeLog-2017.
1013 \f
1014 Local Variables:
1015 mode: change-log
1016 left-margin: 8
1017 fill-column: 74
1018 version-control: never
1019 coding: utf-8
1020 End: