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