+2020-03-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/section.h (dwarf2_section_buffer_overflow_complaint):
+ Declare.
+ * dwarf2/section.c (dwarf2_section_buffer_overflow_complaint):
+ Move from read.c.
+ * dwarf2/read.c (dwarf2_section_buffer_overflow_complaint): Move
+ to section.c.
+
+2020-03-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (dwarf_decode_macros): Split into two overloads.
+
+2020-03-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (macro_start_file): Change "cu" parameter to
+ "builder".
+ (dwarf_decode_macro_bytes): Likewise. Add dwarf2_per_objfile
+ parameter.
+ (dwarf_decode_macros): Update.
+
+2020-03-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (read_attribute_value): Update.
+ (read_indirect_string_from_dwz): Move to dwz.c; change into
+ method.
+ (dwarf_decode_macro_bytes): Update.
+ * dwarf2/dwz.h (struct dwz_file) <read_string>: Declare method.
+ * dwarf2/dwz.c: New file.
+ * Makefile.in (COMMON_SFILES): Add dwz.c.
+
+2020-03-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.h (struct dwz_file): Move to dwz.h.
+ * dwarf2/read.c: Add include.
+ * dwarf2/index-write.c: Add include.
+ * dwarf2/index-cache.c: Add include.
+ * dwarf2/dwz.h: New file.
+
+2020-03-25 Tom Tromey <tom@tromey.com>
+
+ * compile/compile-object-load.c (get_out_value_type): Mention
+ correct symbol name in error message.
+
+2020-03-25 Hannes Domani <ssbssa@yahoo.de>
+
+ * windows-nat.c (windows_add_all_dlls): Fix system dll paths.
+
+2020-03-25 Tom de Vries <tdevries@suse.de>
+
+ * symtab.h (is_main_symtab_of_compunit_symtab): New function.
+ * symmisc.c (dump_symtab_1): Print user and includes fields.
+ (maintenance_info_symtabs): Same.
+
+2020-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ PR gdb/25534
+ * riscv-tdep.c (riscv_arg_info::c_offset): Update comment.
+ (riscv_regcache_cooked_write): New function.
+ (riscv_push_dummy_call): Use new function.
+ (riscv_return_value): Likewise.
+
+2020-03-24 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * fbsd-nat.c (fbsd_nat_target::follow_fork): Change bool to int.
+ * fbsd-nat.h (class fbsd_nat_target) <follow_fork>: Likewise.
+ * inf-ptrace.c (inf_ptrace_target::follow_fork): Likewise.
+ * inf-ptrace.h (struct inf_ptrace_target) <follow_fork>: Likewise.
+ * infrun.c (follow_fork): Likewise.
+ (follow_fork_inferior): Likewise.
+ * linux-nat.c (linux_nat_target::follow_fork): Likewise.
+ * linux-nat.h (class linux_nat_target): Likewise.
+ * remote.c (class remote_target) <follow_fork>: Likewise.
+ (remote_target::follow_fork): Likewise.
+ * target-delegates.c: Re-generate.
+ * target.c (default_follow_fork): Likewise.
+ (target_follow_fork): Likewise.
+ * target.h (struct target_ops) <follow_fork>: Likewise.
+ (target_follow_fork): Likewise.
+
+2020-03-24 Tom de Vries <tdevries@suse.de>
+
+ * psymtab.c (maintenance_info_psymtabs): Print user field.
+
+2020-03-20 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/loc.h (dwarf2_evaluate_property): Make "addr_stack"
+ const.
+ * dwarf2/loc.c (dwarf2_evaluate_property): Make "addr_stack"
+ const.
+
+2020-03-20 Simon Marchi <simon.marchi@efficios.com>
+
+ * ptrace.m4: Don't check for ptrace declaration.
+ * config.in: Re-generate.
+ * configure: Re-generate.
+ * nat/gdb_ptrace.h: Don't declare ptrace if HAVE_DECL_PTRACE is
+ not defined.
+
+2020-03-20 Kamil Rytarowski <n54@gmx.com>
+
+ * amd64-bsd-nat.c (gdb_ptrace): Change return type from `int' to
+ `PTRACE_TYPE_RET'.
+ * i386-bsd-nat.c (gdb_ptrace): Likewise.
+ * sparc-nat.c (gdb_ptrace): Likewise.
+ * x86-bsd-nat.c (gdb_ptrace): Likewise.
+
+2020-03-20 Tom Tromey <tromey@adacore.com>
+
+ * c-exp.y (lex_one_token): Fix assert.
+
+2020-03-20 Tom Tromey <tromey@adacore.com>
+
+ * ada-tasks.c (read_atcb): Use smaller length in strncpy call.
+ * linux-tdep.c (linux_fill_prpsinfo): Use smaller length in
+ strncpy call.
+
+2020-03-20 Tom Tromey <tromey@adacore.com>
+
+ * symmisc.c (maintenance_print_one_line_table): Use ui_out.
+
+2020-03-20 Tom Tromey <tromey@adacore.com>
+
+ * ada-valprint.c (print_variant_part): Remove parameters; switch
+ to value-based API.
+ (print_field_values): Likewise.
+ (ada_val_print_struct_union): Likewise.
+ (ada_value_print_1): Update.
+
+2020-03-20 Kamil Rytarowski <n54@gmx.com>
+
+ * ppc-nbsd-nat.c (ppc_nbsd_nat_target): Inherit from
+ nbsd_nat_target instead of inf_ptrace_target.
+ * ppc-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
+ nbsd_nat_target.
+
+2020-03-20 Kamil Rytarowski <n54@gmx.com>
+
+ * hppa-nbsd-nat.c (fetch_registers): New variable lwp and pass
+ it to the ptrace call.
+ * (store_registers): Likewise.
+
+2020-03-20 Kamil Rytarowski <n54@gmx.com>
+
+ * ppc-nbsd-nat.c (fetch_registers): New variable lwp and pass
+ it to the ptrace call.
+ * (store_registers): Likewise.
+
+2020-03-19 Luis Machado <luis.machado@linaro.org>
+
+ * nat/aarch64-sve-linux-ptrace.c (aarch64_sve_set_vq): If vg is not
+ valid, fetch vg value from ptrace.
+
+2020-03-19 Kamil Rytarowski <n54@gmx.com>
+ * inf-ptrace.h: Disable get_ptrace_pid on NetBSD.
+ * inf-ptrace.c: Likewise.
+ * (gdb_ptrace): Add.
+ * (inf_ptrace_target::resume): Update.
+ * (inf_ptrace_target::xfer_partial): Likewise.
+ * (inf_ptrace_peek_poke): Change argument `pid' to `ptid'.
+ * (inf_ptrace_peek_poke): Update.
+
+2020-03-19 Kamil Rytarowski <n54@gmx.com>
+
+ * x86-bsd-nat.c (gdb_ptrace): New.
+ * (x86bsd_dr_set): Add new argument `ptid'.
+ * (x86bsd_dr_get, x86bsd_dr_set, x86bsd_dr_set_control,
+ x86bsd_dr_set_addr): Update.
+
+2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * remote.c (remote_target::process_stop_reply): Handle events for
+ all threads differently.
+
+2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * completer.c (completion_tracker::remove_completion): Define new
+ function.
+ * completer.h (completion_tracker::remove_completion): Declare new
+ function.
+ * symtab.c (completion_list_add_symbol): Remove aliasing msymbols
+ when adding a C++ function symbol.
+
+2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * completer.c (completion_tracker::completion_hash_entry): Define
+ new class.
+ (advance_to_filename_complete_word_point): Call
+ recompute_lowest_common_denominator.
+ (completion_tracker::completion_tracker): Call discard_completions
+ to setup the hash table.
+ (completion_tracker::discard_completions): Allow for being called
+ from the constructor, pass new equal function, and element deleter
+ when constructing the hash table. Initialise new class member
+ variables.
+ (completion_tracker::maybe_add_completion): Remove use of
+ m_entries_vec, and store more information into m_entries_hash.
+ (completion_tracker::recompute_lcd_visitor): New function, most
+ content taken from...
+ (completion_tracker::recompute_lowest_common_denominator):
+ ...here, this now just visits each item in the hash calling the
+ above visitor.
+ (completion_tracker::build_completion_result): Remove use of
+ m_entries_vec, call recompute_lowest_common_denominator.
+ * completer.h (completion_tracker::have_completions): Remove use
+ of m_entries_vec.
+ (completion_tracker::completion_hash_entry): Declare new class.
+ (completion_tracker::recompute_lowest_common_denominator): Change
+ function signature.
+ (completion_tracker::recompute_lcd_visitor): Declare new function.
+ (completion_tracker::m_entries_vec): Delete.
+ (completion_tracker::m_entries_hash): Initialize to NULL.
+ (completion_tracker::m_lowest_common_denominator_valid): New
+ member variable.
+ (completion_tracker::m_lowest_common_denominator_max_length): New
+ member variable.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * regformats/regdef.h: Put reg in gdb namespace.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * i386-bsd-nat.c (gdb_ptrace): New.
+ * (i386bsd_fetch_inferior_registers,
+ i386bsd_store_inferior_registers) Switch from pid_t to ptid_t.
+ * (i386bsd_fetch_inferior_registers,
+ i386bsd_store_inferior_registers) Use gdb_ptrace.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * amd64-bsd-nat.c (gdb_ptrace): New.
+ * (amd64bsd_fetch_inferior_registers,
+ amd64bsd_store_inferior_registers) Switch from pid_t to ptid_t.
+ * (amd64bsd_fetch_inferior_registers,
+ amd64bsd_store_inferior_registers) Use gdb_ptrace.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * user-regs.c (user_reg::read): Rename to...
+ (user_reg::xread): ...this.
+ * (append_user_reg): Rename argument `read' to `xread'.
+ * (user_reg_add_builtin): Likewise.
+ * (user_reg_add): Likewise.
+ * (value_of_user_reg): Likewise.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * sparc-nat.c (gdb_ptrace): New.
+ * sparc-nat.c (sparc_fetch_inferior_registers)
+ (sparc_store_inferior_registers) Remove obsolete comment.
+ * sparc-nat.c (sparc_fetch_inferior_registers)
+ (sparc_store_inferior_registers) Switch from pid_t to ptid_t.
+ * sparc-nat.c (sparc_fetch_inferior_registers)
+ (sparc_store_inferior_registers) Use gdb_ptrace.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * sh-nbsd-nat.c (fetch_registers): New variable lwp and pass
+ it to the ptrace call.
+ * sh-nbsd-nat.c (store_registers): Likewise.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * sh-nbsd-nat.c (sh_nbsd_nat_target): Inherit from
+ nbsd_nat_target instead of inf_ptrace_target.
+ * sh-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
+ nbsd_nat_target.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * amd64-bsd-nat.c: Include amd64-bsd-nat.h".
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
+ * nbsd-nat.c: Include <sys/types.h>, <sys/ptrace.h> and
+ <sys/sysctl.h>.
+ * nbsd-nat.c (nbsd_nat_target::pid_to_exec_file): Rewrite.
+
+2020-03-17 Tom de Vries <tdevries@suse.de>
+
+ PR gdb/23710
+ * dwarf2/read.h (struct dwarf2_per_cu_data): Add unit_type and lang
+ fields.
+ * dwarf2/read.c (process_psymtab_comp_unit): Initialize unit_type and lang
+ fields.
+ (process_imported_unit_die): Skip import of c++ CUs.
+
+2020-03-16 Tom Tromey <tom@tromey.com>
+
+ * p-valprint.c (pascal_object_print_value): Initialize
+ base_value.
+
+2020-03-16 Anton Kolesov <anton.kolesov@synopsys.com>
+ Shahab Vahedi <shahab@synopsys.com>
+
+ * Makefile.in: Add arch/arc.o
+ * configure.tgt: Likewise.
+ * arc-tdep.c (arc_tdesc_init): Use arc_read_description.
+ (_initialize_arc_tdep): Don't initialize old target descriptions.
+ (arc_read_description): New function to cache target descriptions.
+ * arc-tdep.h (arc_read_description): Add proto type.
+ * arch/arc.c: New file.
+ * arch/arc.h: Likewise.
+ * features/Makefile: Replace old target descriptions with new.
+ * features/arc-arcompact.c: Remove.
+ * features/arc-arcompact.xml: Likewise.
+ * features/arc-v2.c: Likewise
+ * features/arc-v2.xml: Likewise
+ * features/arc/aux-arcompact.xml: New file.
+ * features/arc/aux-v2.xml: Likewise.
+ * features/arc/core-arcompact.xml: Likewise.
+ * features/arc/core-v2.xml: Likewise.
+ * features/arc/aux-arcompact.c: Generate.
+ * features/arc/aux-v2.c: Likewise.
+ * features/arc/core-arcompact.c: Likewise.
+ * features/arc/core-v2.c: Likewise.
+ * target-descriptions (maint_print_c_tdesc_cmd): Support ARC features.
+
+2020-03-16 Tom Tromey <tromey@adacore.com>
+
+ PR gdb/25663:
+ * dwarf2/read.c (dwarf2_name): Strip leading namespaces after
+ putting value into bcache.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ PR gdb/21500
+ * amd64-windows-tdep.c (amd64_windows_init_abi): Rename
+ to...
+ (amd64_windows_init_abi_common): ... this. Don't set size of
+ long type.
+ (amd64_windows_init_abi): New function.
+ (amd64_cygwin_init_abi): New function.
+ (_initialize_amd64_windows_tdep): Use amd64_cygwin_init_abi for
+ the Cygwin OS ABI.
+ * i386-windows-tdep.c (_initialize_i386_windows_tdep): Clarify
+ comment.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ * windows-tdep.h (is_linked_with_cygwin_dll): New declaration.
+ * windows-tdep.c (CYGWIN_DLL_NAME): New.
+ (pe_import_directory_entry): New struct type.
+ (is_linked_with_cygwin_dll): New function.
+ * amd64-windows-tdep.c (amd64_windows_osabi_sniffer): Select
+ GDB_OSABI_CYGWIN if the BFD is linked with the Cygwin DLL.
+ * i386-windows-tdep.c (i386_windows_osabi_sniffer): Likewise.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ * i386-windows-tdep.c: Mass-rename "cygwin" to "windows", except
+ i386_cygwin_core_osabi_sniffer.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ * i386-cygwin-tdep.c: Rename to...
+ * i386-windows-tdep.c: ... this.
+ * Makefile.in (ALL_TARGET_OBS): Rename i386-cygwin-tdep.c to
+ i386-windows-tdep.c.
+ * configure.tgt: Likewise.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ * osabi.h (enum gdb_osabi): Add GDB_OSABI_WINDOWS.
+ * osabi.c (gdb_osabi_names): Add "Windows".
+ * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Return
+ GDB_OSABI_WINDOWS when the binary's target is "pei-i386".
+ (i386_cygwin_core_osabi_sniffer): New function, extracted from
+ i386_cygwin_osabi_sniffer.
+ (_initialize_i386_cygwin_tdep): Register OS ABI
+ GDB_OSABI_WINDOWS for i386.
+ * amd64-windows-tdep.c (amd64_windows_osabi_sniffer): Return
+ GDB_OSABI_WINDOWS when the binary's target is "pei-x86-64".
+ (_initialize_amd64_windows_tdep): Register OS ABI GDB_OSABI_WINDOWS
+ for x86-64.
+ * configure.tgt: Use GDB_OSABI_WINDOWS as the default OS ABI
+ when the target matches '*-*-mingw*'.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ * defs.h (enum gdb_osabi): Move to...
+ * osabi.h (enum gdb_osabi): ... here.
+ * gdbarch.sh: Include osabi.h in gdbarch.h.
+ * gdbarch.h: Re-generate.
+
+2020-03-16 Simon Marchi <simon.marchi@efficios.com>
+
+ * amd64-windows-tdep.c (amd64_windows_osabi_sniffer): New
+ function.
+ (_initialize_amd64_windows_tdep): Register osabi sniffer.
+
+2020-03-14 Tom Tromey <tom@tromey.com>
+
+ * c-typeprint.c (cp_type_print_method_args): Print "__restrict__"
+ for C++.
+ (c_type_print_modifier): Likewise. Add "language" parameter.
+ (c_type_print_varspec_prefix, c_type_print_base_struct_union)
+ (c_type_print_base_1): Update.
+ * type-stack.h (enum type_pieces) <tp_atomic, tp_restrict>: New
+ constants.
+ * type-stack.c (type_stack::insert): Handle tp_atomic and
+ tp_restrict.
+ (type_stack::follow_type_instance_flags): Likewise.
+ (type_stack::follow_types): Likewise. Merge type-following code.
+ * c-exp.y (RESTRICT, ATOMIC): New tokens.
+ (space_identifier, cv_with_space_id)
+ (const_or_volatile_or_space_identifier_noopt)
+ (const_or_volatile_or_space_identifier): Remove.
+ (single_qualifier, qualifier_seq_noopt, qualifier_seq): New
+ rules.
+ (ptr_operator, typebase): Update.
+ (enum token_flag) <FLAG_C>: New constant.
+ (ident_tokens): Add "restrict", "__restrict__", "__restrict", and
+ "_Atomic".
+ (lex_one_token): Handle FLAG_C.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * m68k-bsd-nat.c (fetch_registers): New variable lwp and pass
+ it to the ptrace call.
+ * m68k-bsd-nat.c (store_registers): Likewise.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * m68k-bsd-nat.c (m68kbsd_supply_gregset): Change type of regs to
+ gdb_byte *.
+ * m68k-bsd-nat.c (m68kbsd_supply_fpregset): Likewise.
+ * m68k-bsd-nat.c (m68kbsd_collect_gregset): Likewise.
+ * m68k-bsd-nat.c (m68kbsd_supply_pcb): Cast &tmp to gdb_byte *.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * m68k-bsd-nat.c (m68k_bsd_nat_target): Inherit from
+ nbsd_nat_target instead of inf_ptrace_target.
+ * m68k-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+ nbsd_nat_target.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * m68k-bsd-nat.c: Define _KERNTYPES to get the declaration of
+ register_t.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * alpha-bsd-nat.c (fetch_registers): New variable lwp and pass
+ it to the ptrace call.
+ * alpha-bsd-nat.c (store_registers): Likewise.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * alpha-bsd-nat.c: Remove <sys/procfs.h> and "gregset.h" from
+ includes.
+ * alpha-bsd-nat.c (gregset_t, fpregset_t): Remove.
+ * alpha-bsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
+ fill_fpregset): Likewise.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * alpha-bsd-nat.c (alpha_netbsd_nat_target): Inherit from
+ nbsd_nat_target instead of inf_ptrace_target.
+ * alpha-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+ nbsd_nat_target.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * alpha-bsd-nat.c: Define _KERNTYPES to get the declaration of
+ register_t.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * arm-nbsd-nat.c (fetch_register): New variable lwp and pass
+ it to the ptrace call.
+ * arm-nbsd-nat.c (fetch_fp_register): Likewise.
+ * arm-nbsd-nat.c (fetch_fp_regs): Likewise.
+ * arm-nbsd-nat.c (store_register): Likewise.
+ * arm-nbsd-nat.c (store_regs): Likewise.
+ * arm-nbsd-nat.c (store_fp_register): Likewise.
+ * arm-nbsd-nat.c (store_fp_regs): Likewise.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * arm-nbsd-nat.c (arm_netbsd_nat_target): Inherit from
+ nbsd_nat_target instead of inf_ptrace_target.
+ * arm-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
+ nbsd_nat_target.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * x86-bsd-nat.c (x86bsd_dr_get): New variable lwp and pass
+ it to the ptrace call.
+ * x86-bsd-nat.c (x86bsd_dr_set): Likewise.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * vax-bsd-nat.c (vaxbsd_supply_gregset): New variable lwp and pass
+ it to the ptrace call.
+ * vax-bsd-nat.c (vaxbsd_collect_gregset): Likewise.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * vax-bsd-nat.c (vaxbsd_supply_gregset): Cast gregs to const
+ gdb_byte *.
+ * vax-bsd-nat.c (vaxbsd_collect_gregset): Cast gregs to void *.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target
+ instead of inf_ptrace_target.
+ * vax-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+ nbsd_nat_target.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of
+ register_t.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * ppc-nbsd-nat.c: Define _KERNTYPES to get the declaration of
+ register_t.
+
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
+ register_t.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * value.h (val_print): Don't declare.
+ * valprint.h (val_print_array_elements)
+ (val_print_scalar_formatted, generic_val_print): Don't declare.
+ * valprint.c (generic_val_print_array): Take a struct value.
+ (generic_val_print_ptr, generic_val_print_memberptr)
+ (generic_val_print_bool, generic_val_print_int)
+ (generic_val_print_char, generic_val_print_complex)
+ (generic_val_print): Remove.
+ (generic_value_print): Update.
+ (do_val_print): Remove unused parameters. Don't call
+ la_val_print.
+ (val_print): Remove.
+ (common_val_print): Update. Don't call value_check_printable.
+ (val_print_scalar_formatted, val_print_array_elements): Remove.
+ * rust-lang.c (rust_val_print): Remove.
+ (rust_language_defn): Update.
+ * p-valprint.c (pascal_val_print): Remove.
+ (pascal_value_print_inner): Update.
+ (pascal_object_print_val_fields, pascal_object_print_val):
+ Remove.
+ (pascal_object_print_static_field): Update.
+ * p-lang.h (pascal_val_print): Don't declare.
+ * p-lang.c (pascal_language_defn): Update.
+ * opencl-lang.c (opencl_language_defn): Update.
+ * objc-lang.c (objc_language_defn): Update.
+ * m2-valprint.c (m2_print_unbounded_array, m2_val_print): Remove.
+ * m2-lang.h (m2_val_print): Don't declare.
+ * m2-lang.c (m2_language_defn): Update.
+ * language.h (struct language_defn) <la_val_print>: Remove.
+ * language.c (unk_lang_value_print_inner): Rename. Change
+ argument types.
+ (unknown_language_defn, auto_language_defn): Update.
+ * go-valprint.c (go_val_print): Remove.
+ * go-lang.h (go_val_print): Don't declare.
+ * go-lang.c (go_language_defn): Update.
+ * f-valprint.c (f_val_print): Remove.
+ * f-lang.h (f_value_print): Don't declare.
+ * f-lang.c (f_language_defn): Update.
+ * d-valprint.c (d_val_print): Remove.
+ * d-lang.h (d_value_print): Don't declare.
+ * d-lang.c (d_language_defn): Update.
+ * cp-valprint.c (cp_print_value_fields)
+ (cp_print_value_fields_rtti, cp_print_value): Remove.
+ (cp_print_static_field): Update.
+ * c-valprint.c (c_val_print_array, c_val_print_ptr)
+ (c_val_print_struct, c_val_print_union, c_val_print_int)
+ (c_val_print_memberptr, c_val_print): Remove.
+ * c-lang.h (c_val_print_array, cp_print_value_fields)
+ (cp_print_value_fields_rtti): Don't declare.
+ * c-lang.c (c_language_defn, cplus_language_defn)
+ (asm_language_defn, minimal_language_defn): Update.
+ * ada-valprint.c (ada_val_print_ptr, ada_val_print_num): Remove.
+ (ada_val_print_enum): Take a struct value.
+ (ada_val_print_flt, ada_val_print_array, ada_val_print_1)
+ (ada_val_print): Remove.
+ (ada_value_print_1): Update.
+ (printable_val_type): Remove.
+ * ada-lang.h (ada_val_print): Don't declare.
+ * ada-lang.c (ada_language_defn): Update.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * valprint.c (do_val_print): Update.
+ * python/python-internal.h (gdbpy_apply_val_pretty_printer): Take
+ a struct value.
+ (value_to_value_object_no_release): Declare.
+ * python/py-value.c (value_to_value_object_no_release): New
+ function.
+ * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Take a
+ struct value.
+ * guile/scm-value.c (vlscm_scm_from_value_no_release): New
+ function.
+ * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): Take
+ a struct value.
+ * guile/guile-internal.h (vlscm_scm_from_value_no_release):
+ Declare.
+ (gdbscm_apply_val_pretty_printer): Take a struct value.
+ * extension.h (apply_ext_lang_val_pretty_printer): Take a struct
+ value.
+ * extension.c (apply_ext_lang_val_pretty_printer): Take a struct
+ value.
+ * extension-priv.h (struct extension_language_ops)
+ <apply_val_pretty_printer>: Take a struct value.
+ * cp-valprint.c (cp_print_value): Create a struct value.
+ (cp_print_value): Update.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * ada-valprint.c (print_field_values): Call common_val_print.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * ada-valprint.c (val_print_packed_array_elements): Remove
+ bitoffset and val parameters. Call common_val_print.
+ (ada_val_print_string): Remove offset, address, and original_value
+ parameters.
+ (ada_val_print_array): Update.
+ (ada_value_print_array): New function.
+ (ada_value_print_1): Call it.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * ada-valprint.c (ada_value_print): Use common_val_print.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * ada-valprint.c (ada_val_print_ref): Use common_val_print.
+
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * ada-valprint.c (ada_value_print_num): New function.
+ (ada_value_print_1): Use it.
+
2020-03-13 Tom Tromey <tom@tromey.com>
* ada-valprint.c (ada_value_print_1) <TYPE_CODE_FLT>: Rewrite.