1 2021-03-08 Tom Tromey <tom@tromey.com>
3 * rust-lang.c (eval_op_rust_array): New function.
4 (rust_evaluate_subexp): Use it.
6 2021-03-08 Tom Tromey <tom@tromey.com>
8 * rust-lang.c (eval_op_rust_complement): New function.
9 (rust_evaluate_subexp): Use it.
11 2021-03-08 Tom Tromey <tom@tromey.com>
13 * rust-lang.c (eval_op_rust_ind): New function.
14 (rust_evaluate_subexp): Use it.
16 2021-03-08 Tom Tromey <tom@tromey.com>
18 * rust-lang.c (rust_subscript): Change parameters.
19 (rust_evaluate_subexp): Update.
21 2021-03-08 Tom Tromey <tom@tromey.com>
23 * rust-lang.c (rust_range): Change parameters.
24 (rust_evaluate_subexp): Update.
26 2021-03-08 Tom Tromey <tom@tromey.com>
28 * f-lang.c (eval_op_f_allocated): New function.
29 (evaluate_subexp_f): Use it.
31 2021-03-08 Tom Tromey <tom@tromey.com>
33 * f-lang.c (fortran_require_array): New function.
34 (evaluate_subexp_f): Use it.
36 2021-03-08 Tom Tromey <tom@tromey.com>
38 * f-lang.c (eval_op_f_kind): New function.
39 (evaluate_subexp_f): Use it.
41 2021-03-08 Tom Tromey <tom@tromey.com>
43 * f-lang.c (eval_op_f_cmplx): New function.
44 (evaluate_subexp_f): Use it.
46 2021-03-08 Tom Tromey <tom@tromey.com>
48 * f-lang.c (eval_op_f_modulo): New function.
49 (evaluate_subexp_f): Use it.
51 2021-03-08 Tom Tromey <tom@tromey.com>
53 * f-lang.c (eval_op_f_floor): New function.
54 (evaluate_subexp_f): Use it.
56 2021-03-08 Tom Tromey <tom@tromey.com>
58 * f-lang.c (eval_op_f_ceil): New function.
59 (evaluate_subexp_f): Use it.
61 2021-03-08 Tom Tromey <tom@tromey.com>
63 * f-lang.c (eval_op_f_mod): New function.
64 (evaluate_subexp_f): Use it.
66 2021-03-08 Tom Tromey <tom@tromey.com>
68 * f-lang.c (eval_op_f_abs): New function.
69 (evaluate_subexp_f): Use it.
71 2021-03-08 Tom Tromey <tom@tromey.com>
73 * eval.c (eval_op_type): New function.
74 (evaluate_subexp_standard): Use it.
76 2021-03-08 Tom Tromey <tom@tromey.com>
78 * eval.c (eval_op_postdec): New function.
79 (evaluate_subexp_standard): Use it.
81 2021-03-08 Tom Tromey <tom@tromey.com>
83 * eval.c (eval_op_postinc): New function.
84 (evaluate_subexp_standard): Use it.
86 2021-03-08 Tom Tromey <tom@tromey.com>
88 * eval.c (eval_op_predec): New file.
89 (evaluate_subexp_standard): Use it.
91 2021-03-08 Tom Tromey <tom@tromey.com>
93 * eval.c (eval_op_preinc): New function.
94 (evaluate_subexp_standard): Use it.
96 2021-03-08 Tom Tromey <tom@tromey.com>
98 * eval.c (eval_op_memval): New function.
99 (evaluate_subexp_standard): Use it.
101 2021-03-08 Tom Tromey <tom@tromey.com>
103 * eval.c (eval_op_alignof): New function.
104 (evaluate_subexp_standard): Use it.
106 2021-03-08 Tom Tromey <tom@tromey.com>
108 * eval.c (eval_op_ind): New function.
109 (evaluate_subexp_standard): Use it.
111 2021-03-08 Tom Tromey <tom@tromey.com>
113 * eval.c (eval_op_lognot): New function.
114 (evaluate_subexp_standard): Use it.
116 2021-03-08 Tom Tromey <tom@tromey.com>
118 * eval.c (eval_op_complement): New function.
119 (evaluate_subexp_standard): Use it.
121 2021-03-08 Tom Tromey <tom@tromey.com>
123 * eval.c (eval_op_neg): New function.
124 (evaluate_subexp_standard): Use it.
126 2021-03-08 Tom Tromey <tom@tromey.com>
128 * eval.c (eval_op_plus): New function.
129 (evaluate_subexp_standard): Use it.
131 2021-03-08 Tom Tromey <tom@tromey.com>
133 * eval.c (eval_op_repeat): New function.
134 (evaluate_subexp_standard): Use it.
136 2021-03-08 Tom Tromey <tom@tromey.com>
138 * eval.c (eval_op_leq): New function.
139 (evaluate_subexp_standard): Use it.
141 2021-03-08 Tom Tromey <tom@tromey.com>
143 * eval.c (eval_op_geq): New function.
144 (evaluate_subexp_standard): Use it.
146 2021-03-08 Tom Tromey <tom@tromey.com>
148 * eval.c (eval_op_gtr): New function.
149 (evaluate_subexp_standard): Use it.
151 2021-03-08 Tom Tromey <tom@tromey.com>
153 * eval.c (eval_op_less): New function.
154 (evaluate_subexp_standard): Use it.
156 2021-03-08 Tom Tromey <tom@tromey.com>
158 * eval.c (eval_op_notequal): New function.
159 (evaluate_subexp_standard): Use it.
161 2021-03-08 Tom Tromey <tom@tromey.com>
163 * eval.c (eval_op_equal): New function.
164 (evaluate_subexp_standard): Use it.
166 2021-03-08 Tom Tromey <tom@tromey.com>
168 * eval.c (eval_op_subscript): New function.
169 (evaluate_subexp_standard): Use it.
171 2021-03-08 Tom Tromey <tom@tromey.com>
173 * eval.c (eval_op_binary): New function.
174 (evaluate_subexp_standard): Use it.
176 2021-03-08 Tom Tromey <tom@tromey.com>
178 * eval.c (eval_op_sub): New function.
179 (evaluate_subexp_standard): Use it.
181 2021-03-08 Tom Tromey <tom@tromey.com>
183 * eval.c (eval_op_add): New function.
184 (evaluate_subexp_standard): Use it.
186 2021-03-08 Tom Tromey <tom@tromey.com>
188 * eval.c (eval_op_member): New function.
189 (evaluate_subexp_standard): Use it.
191 2021-03-08 Tom Tromey <tom@tromey.com>
193 * eval.c (eval_op_structop_ptr): New function.
194 (evaluate_subexp_standard): Use it.
196 2021-03-08 Tom Tromey <tom@tromey.com>
198 * eval.c (eval_op_structop_struct): New function.
199 (evaluate_subexp_standard): Use it.
201 2021-03-08 Tom Tromey <tom@tromey.com>
203 * eval.c (eval_op_ternop): New function.
204 (evaluate_subexp_standard): Use it.
206 2021-03-08 Tom Tromey <tom@tromey.com>
208 * eval.c (eval_op_concat): New function.
209 (evaluate_subexp_standard): Use it.
211 2021-03-08 Tom Tromey <tom@tromey.com>
213 * eval.c (eval_op_objc_selector): New function.
214 (evaluate_subexp_standard): Use it.
216 2021-03-08 Tom Tromey <tom@tromey.com>
218 * eval.c (eval_op_string): New function.
219 (evaluate_subexp_standard): Use it.
221 2021-03-08 Tom Tromey <tom@tromey.com>
223 * eval.c (eval_op_register): New function.
224 (evaluate_subexp_standard): Use it.
226 2021-03-08 Tom Tromey <tom@tromey.com>
228 * eval.c (eval_op_func_static_var): New function.
229 (evaluate_subexp_standard): Use it.
231 2021-03-08 Tom Tromey <tom@tromey.com>
233 * eval.c (eval_op_var_msym_value): New function.
234 (evaluate_subexp_standard): Use it.
236 2021-03-08 Tom Tromey <tom@tromey.com>
238 * eval.c (eval_op_var_entry_value): New function.
239 (evaluate_subexp_standard): Use it.
241 2021-03-08 Tom Tromey <tom@tromey.com>
243 * eval.c (eval_op_scope): New function.
244 (evaluate_subexp_standard): Use it.
246 2021-03-06 Chernov Sergey <klen_s@mail.ru>
249 * ada-lang.c (ada_fold_name): Use gdb::to_string.
251 2021-03-06 Tom Tromey <tom@tromey.com>
253 * dwarf2/sect-names.h (dwarf2_elf_names): Declare.
254 * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h.
255 * dwarf2/read.c (dwarf2_elf_names): No longer static.
256 (locate_dwz_sections, dwz_search_other_debugdirs)
257 (dwarf2_get_dwz_file): Move to dwz.c.
258 * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from
260 * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs)
261 (dwarf2_get_dwz_file): Move from read.c.
263 2021-03-06 Tom Tromey <tom@tromey.com>
265 * debuginfod-support.h: Include scoped_fd.h.
267 2021-03-06 Tom Tromey <tom@tromey.com>
269 * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
270 * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
271 (get_abbrev_section_for_cu, read_attribute_value)
272 (get_debug_line_section): Update.
273 * dwarf2/macro.c (dwarf_decode_macro_bytes): Update.
275 2021-03-06 Tom Tromey <tom@tromey.com>
277 * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
279 * dwarf2/read.c (section_is_p): Remove.
280 (dwarf2_per_bfd::locate_sections)
281 (dwarf2_per_bfd::locate_sections, locate_dwz_sections)
282 (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
283 (dwarf2_locate_common_dwp_sections)
284 (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
287 2021-03-06 Tom Tromey <tom@tromey.com>
289 * xcoffread.c: Include sect-names.h.
290 * symfile.h (struct dwarf2_section_names, struct
291 dwarf2_debug_sections): Move to dwarf2/sect-names.h.
292 * dwarf2/sect-names.h: New file, from symfile.h.
293 * dwarf2/read.c: Include sect-names.h.
295 2021-03-06 Tom Tromey <tom@tromey.com>
297 * dwarf2/read.c (read_attribute): Make 'abbrev' const.
298 * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove.
299 (abbrev_table::read): Update.
300 * dwarf2/abbrev.h (struct attr_abbrev): Move earlier.
301 (struct abbrev_info): Reformat.
302 <attrs>: Now an array.
303 (struct abbrev_table) <alloc_abbrev>: Remove.
305 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
307 * ctfread.c (ctf_psymtab_add_enums): New function.
308 (ctf_psymtab_type_cb): call ctf_psymtab_add_enums.
310 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
312 * ctfread.c (read_func_kind_type): Set up function arguments.
314 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
315 Andrew Burgess <andrew.burgess@embecosm.com>
317 * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h'
319 (riscv_csrset): New static global.
320 (riscv_update_csrmap): New function.
321 (riscv_iterate_over_regset_sections): Process CSRs.
323 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
325 * riscv-tdep.c (riscv_feature_name_csr): Define.
326 (riscv_feature_name_cpu): Define.
327 (riscv_feature_name_fpu): Define.
328 (riscv_feature_name_virtual): Define.
329 (riscv_xreg_feature): Use riscv_feature_name_cpu.
330 (riscv_freg_feature): Use riscv_feature_name_fpu.
331 (riscv_virtual_feature): Use riscv_feature_name_virtual.
332 (riscv_csr_feature): Use riscv_feature_name_csr.
333 * riscv-tdep.h (riscv_feature_name_csr): Declare.
335 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
336 Craig Blackmore <craig.blackmore@embecosm.com>
338 * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o.
339 (ALLDEPFILES): Add riscv-none-tdep.c.
340 * configure: Regenerate.
341 * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF
343 * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c.
344 * elf-none-tdep.c: New file.
345 * elf-none-tdep.h: New file.
346 * riscv-none-tdep.c: New file.
348 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
349 Andrew Burgess <andrew.burgess@embecosm.com>
351 * corelow.c: Add 'xml-tdesc.h' include.
352 (core_target::read_description): Load the target description from
353 the core file when possible.
354 * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description
356 * gcore-elf.c: Add 'gdbsupport/tdesc.h' include.
357 (gcore_elf_make_tdesc_note): New function.
358 * gcore-elf.h (gcore_elf_make_tdesc_note): Declare.
359 * linux-tdep.c (linux_make_corefile_notes): Add target description
362 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
364 * Makefile.in (SFILES): Add gcore-elf.c.
365 (HFILES_NO_SRCDIR): Add gcore-elf.h
366 * configure: Regenerate.
367 * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF
369 * fbsd-tdep.c: Add 'gcore-elf.h' include.
370 (struct fbsd_collect_regset_section_cb_data): Delete.
371 (fbsd_collect_regset_section_cb): Delete.
372 (fbsd_collect_thread_registers): Delete.
373 (struct fbsd_corefile_thread_data): Delete.
374 (fbsd_corefile_thread): Delete.
375 (fbsd_make_corefile_notes): Call
376 gcore_elf_build_thread_register_notes instead of the now deleted
378 * gcore-elf.c: New file, the content was moved here from
379 linux-tdep.c, functions were renamed and given minor cleanup.
380 * gcore-elf.h: New file.
381 * gcore.c (gcore_find_signalled_thread): Moved here from
382 linux-tdep.c and given a new name. Minor cleanups.
383 * gcore.h (gcore_find_signalled_thread): Declare.
384 * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes.
385 (struct linux_collect_regset_section_cb_data): Delete.
386 (linux_collect_regset_section_cb): Delete.
387 (linux_collect_thread_registers): Delete.
388 (linux_corefile_thread): Call
389 gcore_elf_build_thread_register_notes.
390 (find_signalled_thread): Delete.
391 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
393 2021-03-04 Simon Marchi <simon.marchi@polymtl.ca>
396 * sparc-nat.h (sparc_fetch_inferior_registers): Add
397 process_stratum_target parameter,
398 sparc_store_inferior_registers): update callers.
399 * sparc-nat.c (sparc_fetch_inferior_registers,
400 sparc_store_inferior_registers): Add process_stratum_target
401 parameter. Switch current thread before calling
402 sparc_supply_gregset / sparc_collect_rwindow.
403 (sparc_store_inferior_registers): Likewise.
404 * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion.
405 (sparc32obsd_collect_uthread): Likewise.
406 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
408 * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread,
409 sparc64obsd_supply_uthread): Add assertion.
411 2021-03-04 Tom Tromey <tromey@adacore.com>
413 * ada-lang.c (struct match_data) <found_sym>: Now bool.
414 (aux_add_nonlocal_symbols): Update.
415 (ada_add_block_symbols): Change "found_sym" to bool.
417 2021-03-03 Tom Tromey <tromey@adacore.com>
419 * ada-lang.c (ada_resolve_function): Update comment.
420 (is_nonfunction, add_symbols_from_enclosing_procs)
421 (remove_extra_symbols): Likewise.
422 (struct match_data): Add constructor, initializers.
423 (add_nonlocal_symbols): Remove memset.
424 (aux_add_nonlocal_symbols): Update comment.
425 (ada_add_block_renamings, add_nonlocal_symbols)
426 (ada_add_all_symbols): Likewise.
427 * ada-exp.y (write_var_or_type): Clean up trailing whitespace.
429 2021-03-02 Tom Tromey <tromey@adacore.com>
431 * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
432 (cast_to_gnat_encoded_fixed_point_type): Remove.
433 (ada_value_cast, ada_evaluate_subexp): Update.
434 (gnat_encoded_fixed_point_type_info)
435 (ada_is_gnat_encoded_fixed_point_type)
436 (gnat_encoded_fixed_point_delta)
437 (gnat_encoded_fixed_point_scaling_factor): Remove.
438 * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
439 (gnat_encoded_fixed_point_delta)
440 (gnat_encoded_fixed_point_scaling_factor): Don't declare.
441 * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
442 (ada_print_type): Update.
443 * ada-valprint.c (ada_value_print_num): Update.
444 * dwarf2/read.c (ada_get_gnat_encoded_number)
445 (ada_get_gnat_encoded_ratio): New functions.
446 (finish_fixed_point_type): Use them. Add parameters.
447 (GNAT_FIXED_POINT_SUFFIX): New define.
448 (gnat_encoded_fixed_point_type_info): New function.
449 (read_base_type): Handle gnat encodings.
451 2021-03-02 Tom Tromey <tromey@adacore.com>
453 * ada-lang.c (ada_fold_name, ada_variant_discrim_name)
454 (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use
459 2021-03-02 Tom Tromey <tromey@adacore.com>
461 * ada-lang.h (ada_lookup_symbol_list): Return a vector.
462 * ada-lang.c (resolve_subexp): Update.
463 (ada_resolve_function): Accept a vector.
464 (is_nonfunction, add_defn_to_vec)
465 (add_symbols_from_enclosing_procs): Likewise.
466 (num_defns_collected, defns_collected): Remove.
467 (remove_extra_symbols): Return a vector.
468 (remove_irrelevant_renamings): Return void.
469 (ada_add_local_symbols): Accept a vector.
470 (struct match_data) <obstackp>: Remove.
471 <resultp>: New member.
472 (aux_add_nonlocal_symbols): Update.
473 (ada_add_block_renamings, add_nonlocal_symbols)
474 (ada_add_all_symbols): Accept a vector.
475 (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a
477 (ada_lookup_symbol): Update.
478 (ada_add_block_symbols): Accept a vector.
479 (get_var_value, iterate_over_symbols): Update.
480 * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc):
483 2021-03-02 Tom Tromey <tromey@adacore.com>
485 * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
487 2021-03-02 Tom Tromey <tromey@adacore.com>
489 * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an
492 (ada_pspace_data): Remove destructor.
493 <sym_cache>: Now a unique_ptr.
494 (ada_init_symbol_cache, ada_free_symbol_cache): Remove.
495 (ada_get_symbol_cache): Use 'new'.
496 (ada_clear_symbol_cache): Rewrite.
498 2021-03-02 Tom Tromey <tromey@adacore.com>
500 * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf
503 2021-02-27 Lancelot Six <lsix@lancelotsix.com>
506 * source.c (add_path): Skip empty dirnames.
508 2021-02-25 Kevin Buettner <kevinb@redhat.com>
510 * nat/aarch64-sve-linux-ptrace.h: Add comment regarding
511 include order for <sys/ptrace.h> and <asm/ptrace.h>.
513 2021-02-25 Simon Marchi <simon.marchi@polymtl.ca>
516 * target.c (target_mourn_inferior): Only compare pids in
517 target_mourn_inferior.
519 2021-02-25 Jan Matyas <jmatyas@codasip.com>
522 * remote.c (remote_target::start_remote): Ensure the single
523 thread, automatically added for remote targets without the
524 concept of threading, is initially in set to the "resumed"
526 * remote.c (remote_target::add_current_inferior_and_thread):
527 Add return value - return the main thread.
529 2021-02-25 Jan Vrany <jan.vrany@labware.com>
531 * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
532 (mi_tsv_created): Likewise.
533 (mi_tsv_deleted): Likewise.
535 2021-02-25 Tom de Vries <tdevries@suse.de>
538 * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as
539 section_kind for &dwo_file->sections.info.
541 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
544 * f-lang.c (fortran_argument_convert): Delete declaration.
545 (fortran_prepare_argument): New function.
546 (evaluate_subexp_f): Move logic to new function
547 fortran_prepare_argument.
549 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
551 * f-exp.y (f77_keywords): Add 'associated'.
552 * f-lang.c (fortran_associated): New function.
553 (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED.
554 (operator_length_f): Likewise.
555 (print_unop_or_binop_subexp_f): New function.
556 (print_subexp_f): Make use of print_unop_or_binop_subexp_f for
557 FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND.
558 (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED.
559 (operator_check_f): Likewise.
560 * std-operator.def: Add FORTRAN_ASSOCIATED.
562 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
564 * f-exp.y (fortran_operators): Add ".xor.".
566 2021-02-24 Tom de Vries <tdevries@suse.de>
569 * dwarf2/attribute.c (attribute::form_is_signed): New function
571 * dwarf2/attribute.h (attribute::as_signed): ... here.
572 (attribute::is_nonnegative, attribute::as_nonnegative): New function.
573 (attribute::form_is_signed): Declare.
574 * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative
577 2021-02-24 Kevin Buettner <kevinb@redhat.com>
579 * nat/aarch64-linux-hw-point.c: Add comment regarding include
580 order for <sys/ptrace.h> and <asm/ptrace.h>.
582 2021-02-24 Kevin Buettner <kevinb@redhat.com>
584 * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after
587 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
589 * exec.c (set_section_command): Move variable declarations into
590 the function body, and use std::string instead of a fixed size
593 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
595 * exec.c (exec_target::get_section_table): Delete member function.
596 (section_table_read_available_memory): Use current_top_target, not
597 just the exec_ops target.
598 * target-delegates.c: Regenerate.
599 * target.c (default_get_section_table): New function.
600 * target.h (target_ops::get_section_table): Change default
601 behaviour to call default_get_section_table.
602 (default_get_section_table): Declare.
604 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
606 * exec.c (exec_target::close): Call new clear_target_sections
608 (program_space::add_target_sections): Update name of member
610 (program_space::add_target_sections): Update name of member
612 (program_space::remove_target_sections): Likewise.
613 (exec_one_fork): Use new target_sections member function.
614 (exec_target::get_section_table): Likewise.
615 (exec_target::files_info): Likewise.
616 (set_section_command): Likewise.
617 (exec_set_section_address): Likewise.
618 (exec_target::has_memory): Use new target_sections member
620 * progspace.h (program_space::clear_target_sections): New member
622 (program_space::target_sections): Rename member variable to
623 m_target_sections, replace with a new member function.
624 (program_space::m_target_sections): New member variable.
625 * solib-dsbt.c (scan_dyntag): Use new member function.
626 * solib-svr4.c (scan_dyntag): Likewise.
628 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
630 * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make
632 * gdb/exec.c (struct exec_target) <get_section_table>: Likewise.
633 (section_table_read_available_memory): Make local const.
634 (exec_target::xfer_partial): Make local const.
635 (print_section_info): Make parameter const.
636 * gdb/exec.h (print_section_info): Likewise.
637 * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local
639 * gdb/record-btrace.c (record_btrace_target::xfer_partial):
641 * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial):
643 * gdb/s390-tdep.c (s390_load): Likewise.
644 * gdb/solib-dsbt.c (scan_dyntag): Likewise.
645 * gdb/solib-svr4.c (scan_dyntag): Likewise.
646 * gdb/target-debug.h (target_debug_print_target_section_table_p):
648 (target_debug_print_const_target_section_table_p): ...this.
649 * gdb/target-delegates.c: Regenerate.
650 * gdb/target.c (target_get_section_table): Make return type const.
651 (target_section_by_addr): Likewise. Also make some locals const.
652 (memory_xfer_partial_1): Make some locals const.
653 * gdb/target.h (struct target_ops) <get_section_table>: Make
655 (target_section_by_addr): Likewise.
656 (target_get_section_table): Likewise.
658 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
660 * NEWS: Mention new 'maint info target-sections' command.
661 * maint.c (maintenance_info_target_sections): New function.
662 (_initialize_maint_cmds): Register new command.
664 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
666 * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to...
667 (riscv_features_from_bfd): ...this. Change parameter type to
668 'bfd*', and update as required.
669 (riscv_find_default_target_description): Update call to
670 riscv_features_from_bfd. Select a default xlen based on
672 (riscv_gdbarch_init): Update call to riscv_features_from_bfd.
674 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
676 * eval.c (evaluate_subexp_standard): Call value_ind for points to
677 dynamic types in UNOP_IND.
679 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
682 * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
684 (~dwarf2_queue_guard): Clear queue.
685 (queue_comp_unit): Assert that queue is
687 (process_queue): Adjust.
688 * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.
690 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
693 * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded
694 to decide whether or not to enqueue it for expansion.
695 (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs
696 after calling maybe_queue_comp_unit.
698 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
700 * linux-nat.c (linux_nat_filter_event): Return void.
702 2021-02-22 Tom Tromey <tromey@adacore.com>
704 * solib-svr4.c (enable_break): Update.
705 * bfd-target.c (class target_bfd) <target_bfd>: Change parameter
707 (target_bfd_reopen): Change parameter type.
708 * bfd-target.h (target_bfd_reopen): Change parameter type.
710 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
712 * thread.c (add_thread_silent): Add assert.
713 (find_thread_ptid): Add assert.
715 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
718 * inf-ptrace.c (struct target_unpusher): Move to target.h.
719 (target_unpush_up): Likewise.
720 * procfs.c (procfs_target::attach): Push target early. Use
721 target_unpush_up to unpush target in case of error.
722 * target.h (struct target_unpusher): Move here.
723 (target_unpush_up): Likewise.
725 2021-02-19 Kevin Buettner <kevinb@redhat.com>
727 * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h"
728 (which in turn includes <gnulib/config.h>) before include
731 2021-02-19 Nelson Chu <nelson.chu@sifive.com>
734 * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
735 (decode_j_type_insn): Likewise.
736 (decode_cj_type_insn): Likewise.
737 (decode_b_type_insn): Likewise.
740 2021-02-18 Tom Tromey <tom@tromey.com>
742 * expression.h (struct expression) <evaluate>: Declare method.
743 * eval.c (evaluate_subexp): Simplify.
744 (expression::evaluate): New method.
745 (evaluate_expression, evaluate_type): Use expression::evaluate.
747 2021-02-17 Kevin Buettner <kevinb@redhat.com>
749 * ada-lang.c (ada_fold_name): Check for non-empty string prior
751 (ada_lookup_name_info): Likewise.
753 2021-02-13 Mike Frysinger <vapier@gentoo.org>
755 * aclocal.m4: Regenerate.
757 2021-02-12 Tom de Vries <tdevries@suse.de>
760 * linux-nat.c (lin_thread_get_thread_signals): Remove.
761 (lin_thread_signals): New static var.
762 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
764 * linux-nat.h (lin_thread_get_thread_signals): Remove.
765 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
767 * linux-thread-db.c (check_thread_signals): Use
768 lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
770 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
772 * f-exp.y (f77_keywords): Add allocated.
773 * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
774 (operator_length_f): Likewise.
775 (print_subexp_f): Likewise.
776 (dump_subexp_body_f): Likewise.
777 (operator_check_f): Likewise.
778 * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
780 2021-02-11 Tom de Vries <tdevries@suse.de>
783 * dwarf2/attribute.c (attribute::form_requires_reprocessing):
784 Return true for DW_FORM_strx.
786 2021-02-11 Tom Tromey <tromey@adacore.com>
789 * parse.c (write_exp_symbol_reference): Write sym.block.
791 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
793 * NEWS: Mention changes to 'maint info sections'.
794 * maint.c (match_substring): Return a bool, fix whitespace issue.
795 (struct single_bfd_flag_info): New struct.
796 (bfd_flag_info): New static global.
797 (match_bfd_flags): Return a bool, use bfd_flag_info.
798 (print_bfd_flags): Use bfd_flag_info.
799 (maint_print_section_info): Delete trailing whitespace.
800 (struct maint_info_sections_opts): New struct.
801 (maint_info_sections_option_defs): New static global.
802 (maint_info_sections_completer): New function.
803 (maintenance_info_sections): Use option parsing mechanism.
804 (_initialize_maint_cmds): Update command help text for 'maint info
805 sections' and register a command completer.
807 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
809 * maint.c (print_bfd_section_info_maybe_relocated): Delete,
810 functionality merged into...
811 (maint_print_all_sections): ...this new function.
812 (maintenance_info_sections): Make use of maint_print_all_sections,
813 allow all objects to be printed even where there's no executable.
815 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
817 * breakpoint.c (resolve_sal_pc): Make use of
818 bound_minimal_symbol::obj_section.
819 * maint.c (maintenance_translate_address): Likewise.
820 * minsyms.c (minimal_symbol_upper_bound): Likewise.
821 * minsyms.h (struct bound_minimal_symbol) <obj_section>: New
823 * printcmd.c (info_address_command): Make use of
824 bound_minimal_symbol::obj_section.
826 2021-02-11 Alan Modra <amodra@gmail.com>
828 * arm-symbian-tdep.c: Delete.
829 * NEWS: Mention arm-symbian removal.
830 * Makefile.in: Remove arm-symbian-tdep entries.
831 * configure.tgt: Remove arm*-*-symbianelf*.
832 * doc/gdb.texinfo: Remove mention of SymbianOS.
833 * osabi.c (gdb_osabi_names): Remove "Symbian".
834 * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN.
835 * testsuite/gdb.base/ending-run.exp: Remove E32Main handling.
836 * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf*
838 * testsuite/gdb.base/dup-sect.exp: Likewise.
839 * testsuite/gdb.base/long_long.exp: Likewise.
840 * testsuite/gdb.base/solib-weak.exp: Likewise.
841 * testsuite/gdb.guile/scm-section-script.exp: Likewise.
842 * testsuite/gdb.python/py-section-script.exp: Likewise.
843 * testsuite/lib/dwarf.exp: Likewise.
844 * testsuite/lib/gdb.exp: Likewise.
846 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
848 * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token.
849 (exp): New pattern using UNOP_OR_BINOP_INTRINSIC.
850 (one_or_two_args): New pattern.
851 (f77_keywords): Add lbound and ubound.
852 * f-lang.c (fortran_bounds_all_dims): New function.
853 (fortran_bounds_for_dimension): New function.
854 (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND.
855 (operator_length_f): Likewise.
856 (print_subexp_f): Likewise.
857 (dump_subexp_body_f): Likewise.
858 (operator_check_f): Likewise.
859 * std-operator.def (FORTRAN_LBOUND): Define.
860 (FORTRAN_UBOUND): Define.
862 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
864 * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
865 and set_section_index member functions where appropriate.
866 * coffread.c (coff_symtab_read): Likewise.
867 (process_coff_symbol): Likewise.
868 * ctfread.c (set_symbol_address): Likewise.
869 * dwarf2/read.c (add_partial_symbol): Likewise.
870 (var_decode_location): Likewise.
871 * language.c: Likewise.
872 * minsyms.c (minimal_symbol_reader::record_full): Likewise.
873 (compact_minimal_symbols): Likewise.
874 (minimal_symbol_upper_bound): Likewise.
875 * objfiles.c (relocate_one_symbol): Likewise.
876 * psympriv.h (partial_symbol::obj_section): Likewise.
877 (partial_symbol::address): Likewise.
878 * psymtab.c (partial_symtab::add_psymbol): Likewise.
879 * stabsread.c (scan_file_globals): Likewise.
880 * symmisc.c (dump_msymbols): Likewise.
881 * symtab.c (general_symbol_info::obj_section): Likewise.
882 (fixup_section): Likewise.
883 (get_msymbol_address): Likewise.
884 * symtab.h (general_symbol_info::section): Rename to...
885 (general_symbol_info::m_section): ...this.
886 (general_symbol_info::set_section_index): New member function.
887 (general_symbol_info::section_index): Likewise.
888 (SYMBOL_SECTION): Delete.
889 (MSYMBOL_VALUE_ADDRESS): Make use of section_index and
890 set_section_index member functions where appropriate.
891 (MSYMBOL_SECTION): Delete.
892 (symbol::symbol): Update to initialize 'm_section'.
893 * xcoffread.c (read_xcoff_symtab): Make use of set_section_index.
894 (process_xcoff_symbol): Likewise.
896 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
898 * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and
900 * findvar.c (language_defn::read_var_value): Likewise.
901 * infcmd.c (jump_command): Likewise.
902 * linespec.c (minsym_found): Likewise.
903 * maint.c (maintenance_translate_address): Likewise.
904 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
905 (minimal_symbol_upper_bound): Likewise.
906 * parse.c (find_minsym_type_and_address): Likewise.
907 (operator_check_standard): Likewise.
908 * printcmd.c (info_address_command): Likewise.
909 * symmisc.c (dump_msymbols): Likewise.
910 (print_symbol): Likewise.
911 * symtab.c (general_symbol_info::obj_section): Define new
913 (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION.
914 (find_pc_sect_compunit_symtab): Likewise.
915 (find_function_start_sal): Likewise.
916 (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and
918 * symtab.h (struct general_symbol_info) <obj_section>: Declare new
920 (SYMBOL_OBJ_SECTION): Delete.
921 (MSYMBOL_OBJ_SECTION): Delete.
923 2021-02-09 Tom Tromey <tom@tromey.com>
925 * stap-probe.c (stap_parse_argument_conditionally): Fix typo.
927 2021-02-09 Tom de Vries <tdevries@suse.de>
930 * dwarf2/read.c (read_array_type): Return NULL when not being able to
931 construct an array type. Add assert to ensure that element_type is
934 2021-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
936 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
937 (gcore_collect_regset_section_cb): Delete.
938 (gcore_collect_thread_registers): Delete.
939 (gcore_build_thread_register_notes): Delete.
940 (gcore_find_signalled_thread): Delete.
941 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
942 'gdbarch' and 'thread_info' declarations.
943 (gcore_build_thread_register_notes): Delete declaration.
944 (gcore_find_signalled_thread): Likewise.
945 * fbsd-tdep.c: Remove 'gcore.h' include.
946 (struct fbsd_collect_regset_section_cb_data): New struct.
947 (fbsd_collect_regset_section_cb): New function.
948 (fbsd_collect_thread_registers): New function.
949 (struct fbsd_corefile_thread_data): New struct.
950 (fbsd_corefile_thread): New function.
951 (fbsd_make_corefile_notes): Call FreeBSD specific code.
952 * linux-tdep.c: Remove 'gcore.h' include.
953 (struct linux_collect_regset_section_cb_data): New struct.
954 (linux_collect_regset_section_cb): New function.
955 (linux_collect_thread_registers): New function.
956 (linux_corefile_thread): Call Linux specific code.
957 (find_signalled_thread): New function.
958 (linux_make_corefile_notes): Call find_signalled_thread.
960 2021-02-09 Tom Tromey <tromey@adacore.com>
962 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
964 * value.c (value_contents_copy_raw): Now static.
965 * value.h (value_contents_copy_raw): Don't declare.
967 2021-02-09 Tom Tromey <tromey@adacore.com>
969 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
972 2021-02-08 Shahab Vahedi <shahab@synopsys.com>
975 * arc-linux-tdep.c (handle_atomic_sequence): New.
976 (arc_linux_software_single_step): Call handle_atomic_sequence().
978 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
980 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
982 (REQUIRE_WINDOW): Call is_valid member function.
983 (REQUIRE_WINDOW_FOR_SETTER): New define.
984 (gdbpy_tui_is_valid): Call is_valid member function.
985 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
986 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
988 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
989 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
992 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
994 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
995 for the title is not nullptr.
997 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
999 * tui-layout.c (saved_tui_windows): Delete.
1000 (tui_apply_current_layout): Don't make use of saved_tui_windows,
1001 call new get_windows member function instead.
1002 (tui_get_window_by_name): Check in tui_windows.
1003 (tui_layout_window::apply): Don't add to tui_windows.
1004 * tui-layout.h (tui_layout_base::get_windows): New member function.
1005 (tui_layout_window::get_windows): Likewise.
1006 (tui_layout_split::get_windows): Likewise.
1008 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1010 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
1011 of the window objects.
1013 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1015 * python/python.c (gdbpy_print_stack): Reformat an error message.
1017 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1019 * tui/tui-interp.c (tui_command_line_handler): New function.
1020 (tui_interp::resume): Register tui_command_line_handler as the
1022 * tui/tui-io.c (tui_inject_newline_into_command_window): New
1024 (tui_getc_1): Delete handling of '\n' and '\r'.
1025 * tui-io.h (tui_inject_newline_into_command_window): Declare.
1027 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
1029 * tui/tui-regs.c (tui_data_window::display_registers_from):
1030 Mark invisible register sub windows.
1031 (tui_data_window::check_register_values): Ignore invisible
1032 register sub windows.
1034 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
1036 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
1037 n_spaces with a negative value.
1039 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
1041 * tui/tui-regs.c (tui_data_window::display_registers_from):
1042 Add refresh_window call.
1044 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
1046 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
1048 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
1050 * symmisc.c (std_in, std_out, std_err): Remove.
1051 (_initialize_symmisc): Don't set std_in, std_out and std_err.
1053 2021-02-05 Tom de Vries <tdevries@suse.de>
1055 PR breakpoints/27330
1056 * breakpoint.c (create_exception_master_breakpoint): Handle case that
1057 glibc object file has debug info.
1059 2021-02-05 Tom de Vries <tdevries@suse.de>
1062 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
1064 2021-02-05 Tom de Vries <tdevries@suse.de>
1066 PR breakpoints/27313
1067 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
1070 2021-02-05 Tom Tromey <tom@tromey.com>
1072 * compile/compile-c-support.c (get_compile_context)
1073 (c_get_compile_context, cplus_get_compile_context): Change return
1075 * language.c (language_defn::get_compile_instance): New method.
1076 * language.h (language_defn::get_compile_instance): Change return
1077 type. No longer inline.
1078 * c-lang.c (c_language::get_compile_instance): Change return type.
1079 (cplus_language::get_compile_instance): Change return type.
1080 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
1082 * compile/compile.c (compile_to_object): Update.
1084 2021-02-05 Tom Tromey <tom@tromey.com>
1086 * parser-defs.h (write_exp_symbol_reference): Declare.
1087 * parse.c (write_exp_symbol_reference): New function.
1088 * p-exp.y (variable): Use write_exp_symbol_reference.
1089 * m2-exp.y (variable): Use write_exp_symbol_reference.
1090 * f-exp.y (variable): Use write_exp_symbol_reference.
1091 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
1092 * c-exp.y (variable): Use write_exp_symbol_reference.
1094 2021-02-05 Tom de Vries <tdevries@suse.de>
1097 * valarith.c (complex_binop): Throw an error if complex type can't
1100 2021-02-05 Tom de Vries <tdevries@suse.de>
1103 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
1106 2021-02-05 Tom de Vries <tdevries@suse.de>
1108 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
1110 2021-02-04 Mike Frysinger <vapier@gentoo.org>
1112 * configure.tgt (riscv*-*-*): Set gdb_sim.
1114 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
1116 * target.c (target_is_non_stop_p): Return bool.
1117 * target.h (target_is_non_stop_p): Return bool.
1119 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
1121 * record-full.c (record_full_async_inferior_event_handler):
1122 Don't clear async event handler.
1123 (record_full_base_target::wait): Clear async event handler at
1126 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
1128 * record-btrace.c (record_btrace_handle_async_inferior_event):
1129 Don't clear async event handler.
1130 (record_btrace_target::wait): Clear async event handler at
1133 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
1135 * remote.c (remote_target::wait): Clear async event handler at
1136 beginning, mark if needed at the end.
1137 (remote_async_inferior_event_handler): Don't set or clear async
1140 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
1142 * async-event.h (async_event_handler_func): Add documentation.
1143 * async-event.c (check_async_event_handlers): Don't clear
1144 async_event_handler ready flag.
1145 * infrun.c (infrun_async_inferior_event_handler): Clear ready
1147 * record-btrace.c (record_btrace_handle_async_inferior_event):
1149 * record-full.c (record_full_async_inferior_event_handler):
1151 * remote-notif.c (remote_async_get_pending_events_handler):
1153 * remote.c (remote_async_inferior_event_handler): Likewise.
1155 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
1157 * infrun.c (handle_inferior_event): Move stop_soon variable to
1160 2021-02-03 Pedro Alves <pedro@palves.net>
1162 * infcmd.c (detach_command): Hold strong reference to target, and
1163 if all-stop on entry, restart threads on exit.
1164 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
1165 (restart_stepped_thread): ... this new function. Also handle
1167 (restart_after_all_stop_detach): New function.
1168 * infrun.h (restart_after_all_stop_detach): Declare.
1170 2021-02-03 Pedro Alves <pedro@palves.net>
1172 * infrun.c (struct step_over_info): Initialize fields.
1173 (prepare_for_detach): Handle ongoing in-line step over.
1175 2021-02-03 Pedro Alves <pedro@palves.net>
1177 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
1179 * remote.c (remote_target::remote_detach_1): ... and here ...
1180 * target.c (target_detach): ... instead of here.
1181 * target.h (target_ops::detach): Add comment.
1183 2021-02-03 Pedro Alves <pedro@palves.net>
1185 * infrun.c (struct wait_one_event): Move higher up.
1186 (prepare_for_detach): Abort in-progress displaced steps instead of
1187 letting them complete.
1188 (handle_one): If the inferior is detaching, don't add the thread
1189 back to the global step-over chain.
1190 (restart_threads): Don't restart threads if detaching.
1191 (handle_signal_stop): Remove inferior::detaching reference.
1193 2021-02-03 Pedro Alves <pedro@palves.net>
1195 * infrun.c (prepare_for_detach): Don't release scoped_restore
1198 2021-02-03 Pedro Alves <pedro@palves.net>
1200 * infrun.c (handle_one): New function, factored out from ...
1201 (stop_all_threads): ... here.
1203 2021-02-03 Pedro Alves <pedro@palves.net>
1205 * remote.c (remote_notif_stop_ack): Don't error out on
1206 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
1207 (remote_target::discard_pending_stop_replies): Don't delete
1208 in-flight notification; instead, clear its contents.
1210 2021-02-03 Pedro Alves <pedro@palves.net>
1212 * remote.c (extended_remote_target::attach): Set target async in
1213 the target-non-stop path too.
1215 2021-02-03 Pedro Alves <pedro@palves.net>
1218 * infrun.c (handle_signal_stop): Move main context_switch call
1219 earlier, before STOP_QUIETLY_NO_SIGSTOP.
1221 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1223 * NEWS (Changed commands): Add entry for the behavior change of
1224 the inferior command.
1225 * inferior.c (inferior_command): When no argument is given to the
1226 inferior command, display info about the currently selected
1229 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1231 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
1233 (read_attribute_reprocess): Adjust.
1235 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1237 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
1238 <gnu_ranges_base>: ... this...
1239 <rnglists_base>: ... and this.
1240 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
1241 <gnu_ranges_base>: ... this...
1242 <rnglists_base>: ... and this.
1243 (read_cutu_die_from_dwo): Adjust
1244 (dwarf2_get_pc_bounds): Adjust
1245 (dwarf2_record_block_ranges): Adjust.
1246 (read_full_die_1): Adjust
1247 (partial_die_info::read): Adjust.
1248 (read_rnglist_index): Adjust.
1250 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1253 * dwarf2/read.c (read_loclists_rnglists_header): Add
1254 header_offset parameter and use it.
1255 (read_loclist_index): Read header of the current contribution,
1256 not the one at the beginning of the section.
1257 (read_rnglist_index): Likewise.
1259 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1262 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
1263 requires_reprocessing flag.
1264 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
1266 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
1267 and DW_FORM_loclistx.
1268 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
1269 instead of set_address for DW_FORM_loclistx and
1272 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1274 * dwarf2/read.c (read_loclist_index): Remove bound check for
1276 (read_rnglist_index): Likewise.
1278 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1280 * dwarf2/read.c (read_loclist_index): Add bound check for the end
1283 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1285 * dwarf2/read.c (read_rnglist_index): Fix bound check.
1287 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1289 * dwarf2/read.c (read_loclist_index): Change complaints into
1292 2021-02-02 Tom de Vries <tdevries@suse.de>
1295 * dwarf2/index-write.c (write_one_signatured_type): Skip if
1298 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1300 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
1301 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
1302 here from linux-tdep.c and given a new name. Minor cleanups.
1303 (gcore_collect_regset_section_cb): Likewise.
1304 (gcore_collect_thread_registers): Likewise.
1305 (gcore_build_thread_register_notes): Likewise.
1306 (gcore_find_signalled_thread): Likewise.
1307 * gcore.h (gcore_build_thread_register_notes): Declare.
1308 (gcore_find_signalled_thread): Declare.
1309 * fbsd-tdep.c: Add 'gcore.h' include.
1310 (struct fbsd_collect_regset_section_cb_data): Delete.
1311 (fbsd_collect_regset_section_cb): Delete.
1312 (fbsd_collect_thread_registers): Delete.
1313 (struct fbsd_corefile_thread_data): Delete.
1314 (fbsd_corefile_thread): Delete.
1315 (fbsd_make_corefile_notes): Call
1316 gcore_build_thread_register_notes instead of the now deleted
1318 * linux-tdep.c: Add 'gcore.h' include.
1319 (struct linux_collect_regset_section_cb_data): Delete.
1320 (linux_collect_regset_section_cb): Delete.
1321 (linux_collect_thread_registers): Delete.
1322 (linux_corefile_thread): Call
1323 gcore_build_thread_register_notes.
1324 (find_signalled_thread): Delete.
1325 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
1327 2021-01-29 Tom de Vries <tdevries@suse.de>
1329 PR breakpoints/26063
1330 * infrun.c (process_event_stop_test): Reset
1331 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
1334 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1336 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
1337 assert. Extend the header comment.
1339 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1341 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
1342 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
1343 * tui/tui-data.h (TUI_STATUS_WIN): Define.
1344 (tui_locator_win_info_ptr): Delete declaration.
1345 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
1346 (tui_disasm_window::set_contents): Fetch state from tui_location
1348 (tui_get_begin_asm_address): Likewise.
1349 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
1351 (get_locator_window): Delete.
1352 (initialize_known_windows): Treat locator window just like all the
1354 * tui/tui-source.c: Add 'tui/tui-location.h' include.
1355 (tui_source_window::set_contents): Fetch state from tui_location
1357 (tui_source_window::showing_source_p): Likewise.
1358 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
1360 (tui_locator_win_info_ptr): Delete.
1361 (tui_locator_window::make_status_line): Fetch state from
1362 tui_location global.
1363 (tui_locator_window::rerender): Remove check of 'handle',
1364 reindent function body.
1365 (tui_locator_window::set_locator_fullname): Delete.
1366 (tui_locator_window::set_locator_info): Delete.
1367 (tui_update_locator_fullname): Delete.
1368 (tui_show_frame_info): Likewise.
1369 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
1370 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
1371 tui/tui-location.h and renamed to
1372 tui_location_tracker::set_location.
1373 (tui_locator_window::set_locator_fullname): Moved to
1374 tui/tui-location.h and renamed to
1375 tui_location_tracker::set_fullname.
1376 (tui_locator_window::full_name): Delete.
1377 (tui_locator_window::proc_name): Delete.
1378 (tui_locator_window::line_no): Delete.
1379 (tui_locator_window::addr): Delete.
1380 (tui_locator_window::gdbarch): Delete.
1381 (tui_update_locator_fullname): Delete declaration.
1382 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
1384 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
1385 (tui_display_main): Call function on tui_location directly.
1386 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
1387 * tui/tui-location.c: New file.
1388 * tui/tui-location.h: New file.
1390 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1392 * gdbtypes.h (get_type_arch): Rename to...
1393 (struct type) <arch>: ... this, update all users.
1395 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1397 * gdbtypes.h (struct type) <arch>: Rename to...
1398 <arch_owner>: ... this, update all users.
1399 <objfile>: Rename to...
1400 <objfile_owner>: ... this, update all users.
1402 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1404 * gdbcmd.h (execute_command_to_string): Update comment.
1405 * top.c (execute_command_to_string): Update header comment.
1407 2021-01-28 Tom de Vries <tdevries@suse.de>
1409 PR breakpoints/27205
1410 * breakpoint.c (create_longjmp_master_breakpoint_probe)
1411 (create_longjmp_master_breakpoint_names): New function, factored out
1413 (create_longjmp_master_breakpoint): ... here. Only try to install
1414 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
1415 breakpoint in libc.so failed.
1417 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1420 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
1421 unique_ptr is released when the wrapped pointer is kept for later
1424 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1426 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
1427 BLR and BR instructions.
1428 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
1429 (enum aarch64_masks): New.
1431 2021-01-26 Tom Tromey <tromey@adacore.com>
1433 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
1434 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
1435 (windows_init_thread_list, windows_nat::handle_load_dll)
1436 (windows_nat::handle_unload_dll, windows_nat_target::resume)
1437 (windows_nat_target::resume)
1438 (windows_nat_target::get_windows_debug_event)
1439 (windows_nat_target::interrupt, windows_xfer_memory)
1440 (windows_nat_target::close): Update.
1441 * nat/windows-nat.c (DEBUG_EVENTS): Use
1442 debug_prefixed_printf_cond.
1443 (matching_pending_stop, fetch_pending_stop)
1444 (continue_last_debug_event): Update.
1446 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
1448 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
1449 elfcore_write_file_note.
1451 2021-01-26 Shahab Vahedi <shahab@synopsys.com>
1453 * arc-tdep.c (arc_add_reggroups): New function.
1454 (arc_gdbarch_init): Call arc_add_reggroups.
1456 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
1458 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
1460 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
1461 Simon Marchi <simon.marchi@polymtl.ca>
1462 Tom de Vries <tdevries@suse.de>
1464 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
1467 2021-01-25 Tom Tromey <tromey@adacore.com>
1469 * dwarf2/read.c (get_mpz): New function.
1470 (get_dwarf2_rational_constant): Use it.
1472 2021-01-25 Tom Tromey <tromey@adacore.com>
1474 * ada-lang.c (resolve_subexp): Handle array context.
1476 2021-01-23 Tom Tromey <tom@tromey.com>
1479 * compile/compile-loc2c.c (note_register): New function.
1480 (pushf_register_address, pushf_register): Use it.
1482 2021-01-23 Tom Tromey <tom@tromey.com>
1484 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
1485 Change type of "registers_used".
1486 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
1487 * dwarf2/loc.c (dwarf2_compile_property_to_c)
1488 (locexpr_generate_c_location, loclist_generate_c_location): Change
1489 type of "registers_used".
1490 * compile/compile.h (compile_dwarf_expr_to_c)
1491 (compile_dwarf_bounds_to_c): Update.
1492 * compile/compile-loc2c.c (pushf_register_address)
1493 (pushf_register, do_compile_dwarf_expr_to_c)
1494 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
1495 of "registers_used".
1496 * compile/compile-c.h (generate_c_for_variable_locations):
1498 * compile/compile-c-symbols.c (generate_vla_size)
1499 (generate_c_for_for_one_variable): Change type of
1501 (generate_c_for_variable_locations): Return std::vector.
1502 * compile/compile-c-support.c (generate_register_struct): Change
1503 type of "registers_used".
1506 2021-01-23 Tom Tromey <tom@tromey.com>
1508 * compile/compile-internal.h (class compile_instance)
1509 <set_arguments>: Change return type.
1510 * compile/compile.c (compile_to_object): Remove call to reset.
1511 (compile_instance::set_arguments): Change return type.
1513 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
1515 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
1516 * gdbtypes.h (struct type) <set_owner>: Add asserts.
1518 2021-01-23 Lancelot SIX <lsix@lancelotsix.com>
1520 * Makefile.in (SELFTESTS_SRCS): Add
1521 unittests/gdb_tilde_expand-selftests.c.
1522 * unittests/gdb_tilde_expand-selftests.c: New file.
1524 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1527 * NEWS: Mention new command.
1528 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
1529 (version_style): Define.
1530 (cli_style_option::cli_style_option): Add intensity parameter, and
1532 (_initialize_cli_style): Register version style set/show commands.
1533 * cli/cli-style.h (cli_style_option): Add intensity parameter.
1534 (version_style): Declare.
1535 * top.c (print_gdb_version): Use version_stype, and styled_string
1536 to print the GDB version string.
1538 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1540 * utils.c (emit_style_escape): Only emit an escape sequence if the
1541 requested style is different than the current applied style.
1542 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
1543 current applied_style.
1544 (fputs_styled): Remove is_default check.
1545 (fputs_styled_unfiltered): Likewise.
1546 (vfprintf_styled_no_gdbfmt): Likewise.
1548 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1550 * remote.h (remote_debug_printf): New.
1551 (remote_debug_printf_nofunc): New.
1552 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
1553 * remote.c: Use above macros throughout file.
1555 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1557 * remote.h (remote_debug): Change to bool.
1558 * remote.c (remote_debug): Change to bool.
1559 (_initialize_remote): Adjust.
1561 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1563 * target.h (remote_debug): Move to...
1564 * remote.h (remote_debug): ... here.
1565 * top.c (remote_debug): Move to...
1566 * remote.c (remote_debug): ... here.
1567 * remote-sim.c: Include remote.h.
1569 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1571 * cli/cli-cmds.c (show_remote_debug): Remove.
1572 (show_remote_timeout): Remove.
1573 (_initialize_cli_cmds): Don't register commands.
1574 * remote.c (show_remote_debug): Move here.
1575 (show_remote_timeout): Move here.
1576 (_initialize_remote): Register commands.
1578 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1580 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
1581 type::objfile method instead.
1583 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1585 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
1586 use the type::is_objfile_owned method.
1588 2021-01-22 Simon Marchi <simon.marchi@efficios.com>
1590 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
1591 (TYPE_OWNER): Remove.
1592 (TYPE_OBJFILE): Adjust.
1593 (struct main_type) <flag_objfile_owned>: Rename to...
1594 <m_flag_objfile_owned>: ... this.
1595 <owner>: Rename to...
1596 <m_owner>: ... this.
1597 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
1599 (TYPE_ALLOC): Adjust.
1600 * gdbtypes.c (alloc_type): Adjust.
1601 (alloc_type_arch): Adjust.
1602 (alloc_type_copy): Adjust.
1603 (get_type_arch): Adjust.
1604 (smash_type): Adjust.
1605 (lookup_array_range_type): Adjust.
1606 (recursive_dump_type): Adjust.
1607 (copy_type_recursive): Adjust.
1608 * compile/compile-c-types.c (convert_func): Adjust.
1609 (convert_type_basic): Adjust.
1610 * compile/compile-cplus-types.c (compile_cplus_convert_func):
1613 (language_arch_info::type_and_symbol::alloc_type_symbol):
1616 2021-01-21 Luis Machado <luis.machado@linaro.org>
1618 * coffread.c (enter_linenos): Passing string to complaint.
1619 * valops.c (value_assign): Make array view.
1621 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1623 * auto-load.h (debug_auto_load): Move here.
1624 (auto_load_debug_printf): New.
1625 * auto-load.c: Use auto_load_debug_printf.
1626 (debug_auto_load): Move to header.
1627 * linux-thread-db.c (try_thread_db_load): Use
1628 auto_load_debug_printf.
1629 * main.c (captured_main_1): Likewise.
1631 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1633 * f-valprint.c (f77_array_offset_tbl): Remove.
1635 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1637 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
1639 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1641 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
1644 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
1647 * python/py-breakpoint.c (bppy_get_location): Handle
1648 bp_hardware_breakpoint.
1649 (bppy_init): Likewise.
1650 (gdbpy_breakpoint_created): Likewise.
1652 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1654 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
1656 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1658 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
1659 (_initialize_gdb_bfd): Adjust.
1661 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1664 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
1666 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1668 * dwarf2/read.c (follow_die_offset): Add logging.
1669 (dwarf2_per_objfile::age_comp_units): Add logging.
1671 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1673 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
1674 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
1675 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
1676 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
1677 * arm-tdep.c (struct frame_unwind): Make static.
1678 * auto-load.c (auto_load_safe_path_vec): Make static.
1679 * csky-tdep.c (csky_stub_unwind): Make static.
1680 * gdbarch.c (gdbarch_data_registry): Make static.
1681 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
1682 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
1683 * i386-tdep.c (i386_frame_setup_skip_insns,
1684 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
1686 * infrun.c (observer_mode): Make static.
1687 * linux-nat.c (sigchld_action): Make static.
1688 * linux-thread-db.c (thread_db_list): Make static.
1689 * maint-test-options.c (maintenance_test_options_list):
1690 * mep-tdep.c (mep_csr_registers): Make static.
1691 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
1692 (stats): Make static.
1693 * nat/linux-osdata.c (struct osdata_type): Make static.
1694 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
1695 * progspace.c (last_program_space_num): Make static.
1696 * python/py-param.c (struct parm_constant): Remove struct type
1698 (parm_constants): Make static.
1699 * python/py-record-btrace.c (btpy_list_methods): Make static.
1700 * python/py-record.c (recpy_gap_type): Make static.
1701 * record.c (record_goto_cmdlist): Make static.
1702 * regcache.c (regcache_descr_handle): Make static.
1703 * registry.h (DEFINE_REGISTRY): Make definition static.
1704 * symmisc.c (std_in, std_out, std_err): Make static.
1705 * top.c (previous_saved_command_line): Make static.
1706 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
1708 * unittests/command-def-selftests.c (nr_duplicates,
1709 nr_invalid_prefixcmd, lists): Make static.
1710 * unittests/observable-selftests.c (test_notification): Make
1712 * unittests/optional/assignment/1.cc (counter): Make static.
1713 * unittests/optional/assignment/2.cc (counter): Make static.
1714 * unittests/optional/assignment/3.cc (counter): Make static.
1715 * unittests/optional/assignment/4.cc (counter): Make static.
1716 * unittests/optional/assignment/5.cc (counter): Make static.
1717 * unittests/optional/assignment/6.cc (counter): Make static.
1719 2021-01-20 Joel Sherrill <joel@rtems.org>
1722 * remote.c (struct remote_thread_info) <resume_state>: Rename
1724 <get_resume_state>: ... this.
1725 (remote_target::resume): Adjust.
1726 (remote_target::commit_resume): Adjust.
1727 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
1729 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1730 Tom Tromey <tom@tromey.com>
1732 * stap-probe.c (stap_parse_single_operand): Handle '!'
1734 (stap_parse_argument_conditionally): Likewise.
1735 Skip spaces after processing open-parenthesis sub-expression.
1736 (stap_parse_argument_1): Skip spaces after call to
1737 stap_parse_argument_conditionally.
1738 Handle case when right-side expression is a parenthesized
1740 Skip spaces after call to stap_parse_argument_1.
1742 2021-01-19 Lancelot SIX <lsix@lancelotsix.com>
1744 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
1746 2021-01-19 Luis Machado <luis.machado@linaro.org>
1748 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
1749 memory and save data.
1750 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
1751 (trad_frame_set_unknown, trad_frame_set_value_bytes)
1752 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
1753 (trad_frame_value_bytes_p): Remove.
1754 (trad_frame_reset_saved_regs): Adjust documentation.
1755 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
1756 constructor and reset the state of the registers.
1757 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
1758 (trad_frame_value_bytes_p, trad_frame_set_value)
1759 (trad_frame_set_realreg, trad_frame_set_addr)
1760 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
1761 (trad_frame_set_reg_realreg): Update to call member function.
1762 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
1763 (trad_frame_get_prev_register): Likewise.
1765 * aarch64-tdep.c (aarch64_analyze_prologue)
1766 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
1767 (aarch64_prologue_prev_register): Update to use member functions.
1768 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
1769 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
1770 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
1771 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
1772 (arm_make_epilogue_frame_cache): Likewise.
1773 * avr-tdep.c (avr_frame_unwind_cache)
1774 (avr_frame_prev_register): Likewise.
1775 * cris-tdep.c (cris_scan_prologue): Likewise.
1776 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
1777 * frv-tdep.c (frv_analyze_prologue): Likewise.
1778 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
1779 * lm32-tdep.c (lm32_frame_cache): Likewise.
1780 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
1781 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1782 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
1783 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
1784 (reset_saved_regs): Adjust to set realreg.
1785 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
1786 call member functions.
1787 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
1788 * s390-tdep.c (s390_prologue_frame_unwind_cache)
1789 (s390_backchain_frame_unwind_cache): Likewise.
1790 * score-tdep.c (score7_analyze_prologue)
1791 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
1792 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
1793 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
1794 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
1795 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
1796 * tilegx-tdep.c (tilegx_analyze_prologue)
1797 (tilegx_frame_cache): Likewise.
1798 * v850-tdep.c (v850_frame_cache): Likewise.
1799 * vax-tdep.c (vax_frame_cache): Likewise.
1801 2021-01-19 Luis Machado <luis.machado@linaro.org>
1803 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
1805 (put_frame_register_bytes): Likewise.
1806 Adjust documentation.
1807 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
1808 (safe_frame_unwind_memory): Likewise.
1809 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
1810 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
1812 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
1813 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
1814 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
1815 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
1816 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
1817 * dwarf2/loc.c (rw_pieced_value): Likewise.
1818 * hppa-tdep.c (hppa_frame_cache): Likewise.
1819 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
1820 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
1821 * i386-linux-tdep.c (i386_linux_sigtramp_start)
1822 (i386_linux_rt_sigtramp_start): Likewise.
1823 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
1824 * i386-tdep.c (i386_register_to_value): Likewise.
1825 * i387-tdep.c (i387_register_to_value): Likewise.
1826 * ia64-tdep.c (ia64_register_to_value): Likewise.
1827 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
1828 (m32r_linux_rt_sigtramp_start): Likewise.
1829 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
1830 * m68k-tdep.c (m68k_register_to_value): Likewise.
1831 * mips-tdep.c (mips_register_to_value)
1832 (mips_value_to_register): Likewise.
1833 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
1834 (ppcfbsd_sigtramp_frame_cache): Likewise.
1835 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
1836 (ppcobsd_sigtramp_frame_cache): Likewise.
1837 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
1838 (rs6000_register_to_value): Likewise.
1839 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
1840 * tramp-frame.c (tramp_frame_start): Likewise.
1841 * valops.c (value_assign): Likewise.
1843 2021-01-19 Luis Machado <luis.machado@linaro.org>
1845 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
1847 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
1848 instead of buffer and size.
1849 (trad_frame_set_reg_value_bytes): Likewise.
1850 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
1851 (trad_frame_set_value_bytes): Likewise.
1853 2021-01-18 Mike Frysinger <vapier@gentoo.org>
1855 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
1857 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1859 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
1860 (riscv_fbsd_gregset): Use riscv_supply_regset.
1861 (riscv_fbsd_fpregset): Likewise.
1862 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
1863 (riscv_linux_fregset): Likewise.
1864 * riscv-tdep.c (riscv_supply_regset): Define new function.
1865 * riscv-tdep.h (riscv_supply_regset): Declare new function.
1867 2021-01-18 Tom de Vries <tdevries@suse.de>
1870 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
1872 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
1875 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1877 * remote.c (class remote_target) <remote_hostio_send_command,
1878 remote_hostio_parse_result>: Constify parameter.
1879 (remote_hostio_parse_result): Likewise.
1880 (remote_target::remote_hostio_send_command): Adjust.
1881 (remote_target::remote_hostio_pread_vFile): Adjust.
1882 (remote_target::fileio_readlink): Adjust.
1883 (remote_target::fileio_fstat): Adjust.
1885 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1887 * remote.c (remote_target::start_remote): Move wait_status to
1890 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1892 * remote.c (class remote_target):
1893 <add_current_inferior_and_thread>: Constify parameter.
1894 (stop_reply_extract_thread): Likewise.
1895 (remote_target::get_current_thread): Likewise.
1896 (remote_target::add_current_inferior_and_thread): Likewise.
1898 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1900 * remote.c (class remote_target)
1901 <remote_unpack_thread_info_response,
1902 parse_threadlist_response>: Constify parameter and/or return
1903 value and or local variable.
1904 (stub_unpack_int): Likewise.
1905 (unpack_nibble): Likewise.
1906 (unpack_byte): Likewise.
1907 (unpack_int): Likewise.
1908 (unpack_string): Likewise.
1909 (unpack_threadid): Likewise.
1910 (remote_target::remote_unpack_thread_info_response): Likewise.
1911 (remote_target::parse_threadlist_response): Likewise.
1913 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
1915 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
1917 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
1919 * MAINTAINERS (Write After Approval): Add myself.
1921 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1923 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
1924 because is_trivially_default_constructible was first implemented with
1927 2021-01-14 Tom de Vries <tdevries@suse.de>
1929 PR breakpoints/27151
1930 * objfiles.h (in_plt_section): Handle .plt.sec.
1932 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1936 (remote_target::select_thread_for_ambiguous_stop_reply): New
1938 (remote_target::process_stop_reply): Call
1939 select_thread_for_ambiguous_stop_reply.
1941 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
1943 * record-btrace.c (class record_btrace_target): Remove.
1944 (record_btrace_target::commit_resume): Remove.
1945 * record-full.c (class record_full_target): Remove.
1946 (record_full_target::commit_resume): Remove.
1948 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
1950 * remote.c (enum class resume_state): New.
1951 (struct resumed_pending_vcont_info): New.
1952 (struct remote_thread_info) <resume_state, set_not_resumed,
1953 set_resumed_pending_vcont, resumed_pending_vcont_info,
1954 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
1956 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
1957 (remote_target::remote_add_thread): Adjust.
1958 (remote_target::process_initial_stop_replies): Adjust.
1959 (remote_target::resume): Adjust.
1960 (remote_target::commit_resume): Rely on state in
1961 remote_thread_info and not on tp->executing.
1962 (remote_target::process_stop_reply): Adjust.
1964 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1966 * arc-tdep.h (arc_debug_printf): New.
1967 * arc-tdep.c: Use arc_debug_printf.
1968 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
1969 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
1970 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
1972 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1974 * arc-tdep.h (arc_debug): Change type to bool.
1975 * arc-tdep.c (arc_debug): Change type to bool.
1976 (arc_analyze_prologue): Adjust.
1977 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
1978 * arc-linux-nat.c (ps_get_thread_area): Adjust.
1980 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1982 * auto-load.c (auto_load_objfile_script_1): Use bool.
1983 (execute_script_contents): Use bool.
1985 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1987 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
1989 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
1991 * extension-priv.h (struct extension_language_script_ops)
1992 <auto_load_enabled>: Return bool.
1993 * extension.h (ext_lang_auto_load_enabled): Return bool, move
1995 * extension.c (ext_lang_auto_load_enabled): Return bool, move
1997 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
1999 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
2000 move comment to header.
2001 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
2003 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
2004 move comment to header.
2006 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2008 * auto-load.h (file_is_auto_load_safe): Change return type to
2009 bool, move comment here.
2010 * auto-load.c (file_is_auto_load_safe): Change return type and
2011 advice_printed to bool. Move comment to header.
2013 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2015 * jit.c (jit_debug_printf): New, use throughout file.
2017 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2019 * infrun.c (normal_stop): Fix indentation.
2021 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2023 * top.h (readnow_symbol_files, readnever_symbol_files): Move
2025 * symfile.h: ... here.
2026 * symfile.c: Update doc.
2028 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2030 * target.h (baud_rate, serial_parity): Move declarations...
2031 * serial.h: ... here.
2032 * main.c: Include serial.h.
2033 * serial.c (baud_rate, serial_parity): Update doc.
2035 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2037 * top.c (pre_init_ui_hook): Remove.
2039 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2041 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
2042 (aarch64_vnv_type): Add "bf" type in h field of v registers.
2043 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
2044 * features/aarch64-fpu.xml: Add bfloat16 type.
2046 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2048 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
2050 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2052 * f-exp.y (dot_ops): Rename to...
2053 (fortran_operators): ...this. Add a header comment. Add symbol
2055 (yylex): Update to use fortran_operators not dot_ops. Remove
2056 special handling for '**', this is now included in
2059 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2061 * arch/aarch64-insn.h (aarch64_debug_printf): New.
2062 * arch/aarch64-insn.c: Use aarch64_debug_printf.
2063 * aarch64-tdep.c: Use aarch64_debug_printf.
2065 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2067 * solib-aix.c (solib_aix_debug_printf): New, use throughout
2070 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2072 * jit.c (jit_debug): Change type to bool.
2073 (_initialize_jit): Adjust.
2075 2021-01-09 Tom Tromey <tom@tromey.com>
2078 * compile/compile.c (compile_to_object): Avoid crash when
2079 osabi_triplet_regexp returns NULL.
2081 2021-01-09 Tom Tromey <tom@tromey.com>
2083 * tracepoint.h (class collection_list) <append_exp>: Take a
2085 * tracepoint.c (collection_list::append_exp): Take a std::string.
2086 (encode_actions_1): Update.
2088 2021-01-08 Tom Tromey <tromey@adacore.com>
2090 * parse.c (parse_expression): Add void_context_p parameter. Use
2091 parse_exp_in_context.
2092 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
2094 (print_command, call_command): Update.
2095 * expression.h (parse_expression): Add void_context_p parameter.
2097 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2099 * value.c (set_value_component_location): Adjust the VALUE_LVAL
2100 for internalvar components that have a dynamic location.
2102 2021-01-08 Tom de Vries <tdevries@suse.de>
2105 * breakpoint.c (create_exception_master_breakpoint_probe)
2106 (create_exception_master_breakpoint_hook): Factor out
2108 (create_exception_master_breakpoint): ... here. Only try to install
2109 the master exception breakpoint in objfile.debug using the
2110 _Unwind_DebugHook method, if the install using probes in objfile
2113 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2115 * f-lang.c (fortran_value_subarray): Call value_from_component.
2117 2021-01-07 Mike Frysinger <vapier@gentoo.org>
2119 * remote-sim.c: Include memory-map.h.
2120 (gdbsim_target): Define memory_map override.
2121 (gdbsim_target::memory_map): Define.
2123 2021-01-07 Tom Tromey <tromey@adacore.com>
2125 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
2127 2021-01-07 Tom Tromey <tromey@adacore.com>
2129 * ada-lang.c (add_component_interval): Start loop using vector's
2132 2021-01-06 Tom Tromey <tromey@adacore.com>
2134 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
2136 * valarith.c (fixed_point_binop): Handle multiplication
2137 and division specially.
2138 * valops.c (value_to_gdb_mpq): New function.
2139 (value_cast_to_fixed_point): Use it.
2141 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
2143 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2144 Call wnoutrefresh instead of tui_win_info::refresh_window.
2146 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
2148 * tui/tui-source.c (tui_source_window::show_line_number):
2149 Redraw second space after line number.
2151 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
2154 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2155 Fix source pad size in prefresh.
2156 (tui_source_window_base::show_source_content): Grow source pad
2159 2021-01-04 Mike Frysinger <vapier@gentoo.org>
2161 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
2162 (bfin_frame_align): Use align_down.
2164 2021-01-04 Tom de Vries <tdevries@suse.de>
2166 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
2167 terminators that do not terminate anything.
2169 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
2171 * debug.c (debug_print_depth): New.
2172 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
2173 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
2174 * infrun.c (start_step_over): Use
2175 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2176 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
2177 INFRUN_SCOPED_DEBUG_START_END.
2178 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2180 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
2182 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
2184 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
2186 * utils.c (vfprintf_unfiltered): Print timestamp only when
2187 previous debug output ended with a newline.
2189 2021-01-04 Luis Machado <luis.machado@linaro.org>
2191 Update all users of trad_frame_saved_reg to use the new member
2194 Remote all struct keywords from declarations of trad_frame_saved_reg
2195 types, except on forward declarations.
2197 * aarch64-tdep.c: Update.
2198 * alpha-mdebug-tdep.c: Update.
2199 * alpha-tdep.c: Update.
2200 * arc-tdep.c: Update.
2201 * arm-tdep.c: Update.
2202 * avr-tdep.c: Update.
2203 * cris-tdep.c: Update.
2204 * csky-tdep.c: Update.
2205 * frv-tdep.c: Update.
2206 * hppa-linux-tdep.c: Update.
2207 * hppa-tdep.c: Update.
2208 * hppa-tdep.h: Update.
2209 * lm32-tdep.c: Update.
2210 * m32r-linux-tdep.c: Update.
2211 * m32r-tdep.c: Update.
2212 * m68hc11-tdep.c: Update.
2213 * mips-tdep.c: Update.
2214 * moxie-tdep.c: Update.
2215 * riscv-tdep.c: Update.
2216 * rs6000-tdep.c: Update.
2217 * s390-linux-tdep.c: Update.
2218 * s390-tdep.c: Update.
2219 * score-tdep.c: Update.
2220 * sparc-netbsd-tdep.c: Update.
2221 * sparc-sol2-tdep.c: Update.
2222 * sparc64-fbsd-tdep.c: Update.
2223 * sparc64-netbsd-tdep.c: Update.
2224 * sparc64-obsd-tdep.c: Update.
2225 * sparc64-sol2-tdep.c: Update.
2226 * tilegx-tdep.c: Update.
2227 * v850-tdep.c: Update.
2228 * vax-tdep.c: Update.
2230 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
2231 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
2233 * trad-frame.c: Update.
2234 Remove TF_REG_* enum.
2235 (trad_frame_alloc_saved_regs): Add a static assertion to check for
2236 a trivially-constructible struct.
2237 (trad_frame_reset_saved_regs): Adjust to use member function.
2238 (trad_frame_value_p): Likewise.
2239 (trad_frame_addr_p): Likewise.
2240 (trad_frame_realreg_p): Likewise.
2241 (trad_frame_value_bytes_p): Likewise.
2242 (trad_frame_set_value): Likewise.
2243 (trad_frame_set_realreg): Likewise.
2244 (trad_frame_set_addr): Likewise.
2245 (trad_frame_set_unknown): Likewise.
2246 (trad_frame_set_value_bytes): Likewise.
2247 (trad_frame_get_prev_register): Likewise.
2248 * trad-frame.h: Update.
2249 (trad_frame_saved_reg_kind): New enum.
2250 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
2251 <m_kind, m_reg>: New member fields.
2252 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
2253 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
2254 <is_addr, is_unknown, is_value_bytes>: New member functions.
2256 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
2258 * target-float.c: Fix typos.
2260 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
2262 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
2264 2021-01-01 Joel Brobecker <brobecker@adacore.com>
2266 * gdbarch.sh: Update copyright year range.
2268 2021-01-01 Joel Brobecker <brobecker@adacore.com>
2270 Update copyright year range in copyright header of all GDB files.
2272 2021-01-01 Joel Brobecker <brobecker@adacore.com>
2274 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
2275 to the list of directories to update.
2277 2021-01-01 Joel Brobecker <brobecker@adacore.com>
2279 * top.c (print_gdb_version): Update copyright year.
2281 2021-01-01 Joel Brobecker <brobecker@adacore.com>
2283 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
2285 For older changes see ChangeLog-2020.
2291 version-control: never