+2018-11-15 Joel Brobecker <brobecker@adacore.com>
+
+ * unittests/copy_bitwise-selftests.c: New file.
+ * utils.c (selftests::bits_to_str, selftests::check_copy_bitwise)
+ (selftests::copy_bitwise_tests): Delete, moving this code to
+ unittests/copy_bitwise-selftests.c instead.
+ (_initialize_utils): Do not register copy_bitwise tests.
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ unittests/copy_bitwise-selftests.c.
+
+2018-11-14 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (move_bits): Delete. Update all callers to use
+ copy_bitwise instead.
+ * dwarf2loc.c (copy_bitwise, bits_to_str::bits_to_str)
+ (selftests::check_copy_bitwise, selftests::copy_bitwise_tests):
+ Move from here to utils.c.
+ (_initialize_dwarf2loc): Remove call to register copy_bitwise
+ selftests.
+ * utils.h (copy_bitwise): Add declaration.
+ * utils.c (copy_bitwise, bits_to_str::bits_to_str)
+ (selftests::check_copy_bitwise, selftests::copy_bitwise_tests):
+ Moved here from dwarf2loc.c.
+ (_initialize_utils): Register copy_bitwise selftests.
+
+2018-11-14 Jim Wilson <jimw@sifive.com>
+
+ * riscv-tdep.c (struct riscv_arg_info): New field is_unnamed.
+ (riscv_call_arg_scalar_int): If unnamed arg with twice xlen alignment,
+ then increment next_regnum if odd.
+ (riscv_arg_location): New arg is_unnamed. Set ainfo->is_unnamed.
+ (riscv_push_dummy_call): New local ftype. Call check_typedef to set
+ function type. Pass new arg to riscv_arg_location based on function
+ type.
+ (riscv_return_value): Pass new arg to riscv_arg_location.
+
+ * riscv-tdep.c (BIGGEST_ALIGNMENT): New.
+ (riscv_type_alignment) <TYPE_CODE_ARRAY>: If TYPE_VECTOR, return min
+ of TYPE_LENGTH and BIGGEST_ALIGNMENT.
+
+ * riscv-tdep.c (riscv_call_arg_scalar_int): Use std::min when
+ setting len. New local align, set to max of arg align and xlen,
+ and pass to first riscv_assign_stack_location call.
+
+2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * skip.c (complete_skip_number): New function.
+ (_initialize_step_skip): Add completers to some skip commands.
+
+2018-11-09 Tom Tromey <tom@tromey.com>
+
+ * remote.c (remote_g_packet_guess_s): Remove typedef and DEF_VEC.
+ (struct remote_g_packet_data): Derive from allocate_on_obstack.
+ <guesses>: Now a std::vector.
+ (remote_g_packet_data_init, register_remote_g_packet_guess):
+ Update.
+ (remote_read_description_p): Update. Return bool.
+ (remote_target::read_description): Update.
+ (struct remote_g_packet_guess): Add constructor.
+
+2018-11-09 Tom Tromey <tom@tromey.com>
+
+ * common/scoped_fd.h (class scoped_fd): Add move constructor and
+ move assignment operator.
+ * psymtab.c (psymtab_to_fullname): Update.
+ * source.h (open_source_file): Return scoped_fd.
+ (find_and_open_source): Likewise.
+ * source.c (open_source_file): Return scoped_fd.
+ (get_filename_and_charpos): Update.
+ (print_source_lines_base): Update. Use scoped_fd::to_file.
+ (forward_search_command): Likewise.
+ (reverse_search_command): Likewise.
+ (find_and_open_source): Return scoped_fd.
+ * tui/tui-source.c (tui_set_source_content): Update. Use
+ gdb_file_up.
+
+2018-11-09 John Baldwin <jhb@FreeBSD.org>
+
+ * minsyms.c (minimal_symbol_reader::install): Fix unsigned
+ overflow.
+
+2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * configure: Regenerate.
+
+2018-11-09 Tom de Vries <tdevries@suse.de>
+
+ * symtab.c (symbol_set_names): Call symbol_find_demangled_name
+ unconditionally, to set the language of the symbol. Manage freeing
+ returned pointer using gdb::unique_xmalloc_ptr.
+
+2018-11-08 Tom Tromey <tom@tromey.com>
+
+ * record.c (require_record_target): Upper-case "<TAB>".
+
+2018-11-08 Tom Tromey <tom@tromey.com>
+
+ * python/lib/gdb/command/pretty_printers.py
+ (InfoPrettyPrinter.invoke): Don't indent "objfile" heading.
+
+2018-11-08 Tom Tromey <tom@tromey.com>
+
+ PR gdb/23555:
+ PR gdb/23838:
+ * target.h (target_supports_terminal_ours): Return bool.
+ * target.c (target_supports_terminal_ours): Handle case where
+ current_top_target returns nullptr. Return bool.
+
+2018-11-08 Joel Brobecker <brobecker@adacore.com>
+
+ * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1):
+ return the correct count for potential HFAs.
+
+2018-11-08 Jan Beulich <jbeulich@suse.com>
+
+ * i387-tdep.c (i387_supply_xsave): Split handling of
+ X86_XSTATE_ZMM_H and X86_XSTATE_ZMM.
+ (i387_collect_xsave): Likewise.
+
+2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_insn::decode): Update header comment.
+ (riscv_frame_this_id): Catch errors thrown while building the
+ frame cache, leave the frame id as the default, which is the outer
+ frame id.
+
+2018-11-07 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (read_atcb): Only set task_info->called_task if
+ task_info->state == Entry_Caller_Sleep.
+ (print_ada_task_info): Do not check task_info->state before
+ checking task_info->called_task.
+ (info_task): Likewise.
+
+2018-11-07 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-tasks.c (read_atcb): Clear task_info before computing
+ the value of each of its fields.
+
+2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2read.c (dwarf2_init_integer_type): Check for name being
+ NULL before dereferencing it.
+
+2018-11-06 Tom de Vries <tdevries@suse.de>
+
+ * linux-tdep.c (linux_vsyscall_range_raw): Use xmalloc to allocate
+ program headers.
+
+2018-11-06 Max Filippov <jcmvbkbc@gmail.com>
+
+ * configure.tgt (xtensa*-*-linux*): Change to xtensa*-*-*linux*
+ so that it applies to uclinux as well.
+
+2018-11-06 Marius Muench <marius.muench@eurecom.fr>
+
+ * arm-tdep.c (arm_scan_prologue): Don't dereference FP reg
+ when on AAPCS.
+
+2018-11-06 John Baldwin <jhb@FreeBSD.org>
+
+ * riscv-fbsd-nat.c (getregs_supplies): Return true for
+ RISCV_CSR_SSTATUS_REGNUM.
+
+2018-11-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * source.c (open_source_file): Fix leak by transferring the
+ current s->fullname to the unique_xmalloc_ptr fullname given
+ to find_and_open_source.
+
+2018-11-04 Tom Tromey <tom@tromey.com>
+
+ * varobj.c (install_default_visualizer): Update.
+ * python/python-internal.h (gdbpy_get_varobj_pretty_printer):
+ Return gdbpy_ref.
+ * python/py-prettyprint.c (search_pp_list): Return gdbpy_ref.
+ (find_pretty_printer_from_progspace)
+ (find_pretty_printer_from_gdb, find_pretty_printer)
+ (gdbpy_get_varobj_pretty_printer): Return gdbpy_ref.
+ (gdbpy_get_varobj_pretty_printer, gdbpy_default_visualizer):
+ Update.
+
+2018-11-04 Tom Tromey <tom@tromey.com>
+
+ * python/python.c (gdbpy_parameter_value): Update.
+ * python/python-internal.h (python_string_to_unicode)
+ (python_string_to_target_python_string)
+ (host_string_to_python_string): Return gdbpy_ref.
+ * python/py-utils.c (python_string_to_unicode)
+ (unicode_to_encoded_python_string)
+ (unicode_to_target_python_string)
+ (python_string_to_target_string)
+ (python_string_to_target_python_string): Return gdbpy_ref.
+ (python_string_to_host_string): Update.
+ (host_string_to_python_string): Return gdbpy_ref.
+ * python/py-symtab.c (stpy_get_filename, stpy_get_producer)
+ (stpy_fullname): Update.
+ * python/py-progspace.c (pspy_get_filename, pspy_solib_name):
+ Update.
+ * python/py-prettyprint.c (print_string_repr): Update.
+ * python/py-objfile.c (objfpy_get_filename, objfpy_get_username)
+ (objfpy_get_build_id): Update.
+ * python/py-breakpoint.c (bppy_get_location)
+ (bppy_get_expression, bppy_get_condition, bppy_get_commands):
+ Update.
+
+2018-11-04 Tom Tromey <tom@tromey.com>
+
+ * python/python-internal.h (gdb_py_object_from_longest)
+ (gdb_py_object_from_ulongest): Return gdbpy_ref.
+ * python/py-value.c (valpy_int): Update.
+ * python/py-utils.c (gdb_py_object_from_longest): Return
+ gdbpy_ref.
+ (gdb_py_object_from_ulongest): Likewise.
+ * python/py-type.c (typy_get_alignof): Update.
+ * python/py-linetable.c (ltpy_get_all_source_lines)
+ (ltpy_entry_get_line, ltpy_entry_get_pc): Update.
+ * python/py-block.c (blpy_get_start, blpy_get_end): Update.
+
+2018-11-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * ada-lang.c (_initialize_ada_language): Fix typo.
+
+2018-11-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * language.c (type): Remove.
+ (_initialize_language): Remove assignment to type.
+
+2018-11-02 Joel Brobecker <brobecker@adacore.com>
+
+ * aarch64-ravenscar-thread.h, aarch64-ravenscar-thread.c: New files.
+ * aarch64-tdep.c: #include "aarch64-ravenscar-thread.h".
+ (aarch64_gdbarch_init): Add call to register_aarch64_ravenscar_ops.
+ * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-ravenscar-thread.o.
+ (HFILES_NO_SRCDIR): Add aarch64-ravenscar-thread.h.
+ (ALLDEPFILES): Add aarch64-ravenscar-thread.c.
+ * configure.tgt (cpu_obs) [aarch64*-*-*]: Add ravenscar-thread.o
+ and aarch64-ravenscar-thread.o.
+ * NEWS: Add entry documenting Ravenscar tasking support
+ on AArch64 ELF.
+
+2018-11-02 Matthew Malcomson <matthew.malcomson@arm.com>
+
+ * symtab.c (info_functions_command): Initialize quiet flag.
+ * stack.c (info_args_command): Likewise.
+
+2018-11-01 Jim Wilson <jimw@sifive.com>
+
+ * riscv-tdep.c (riscv_breakpoint_kind_from_pc): New local unaligned_p.
+ Set if pcptr if unaligned. Return 2 if unaligned_p true. Update
+ debugging messages.
+
+2018-11-01 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_watch_location_expression): New function.
+ (ada_language_defn): Set la_watch_location_expression to
+ ada_watch_location_expression.
+
+2018-11-01 Joel Brobecker <brobecker@adacore.com>
+
+ * print-utils.c (int_string): Remove unnecessary trailing spaces.
+
+2018-11-01 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-tdep.c (skip_prologue): Fix potential negative left
+ shifting.
+
+2018-11-01 Jerome Guitton <guitton@adacore.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * defs.h (enum gdb_osabi): Add GDB_OSABI_PIKEOS.
+ * osabi.c (gdb_osabi_names): Add name for GDB_OSABI_PIKEOS.
+ * arm-pikeos-tdep.c: New file.
+ * configure.tgt: Add arm-pikeos-tdep.o to the case of ARM
+ embedded system.
+ * Makefile.in (ALL_TARGET_OBS): Add arm-pikeos-tdep.o.
+
+2018-11-01 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/pathstuff.c (get_standard_temp_dir): New.
+ * common/pathstuff.h (get_standard_temp_dir): New.
+ * config.in: Re-generate.
+ * configure: Re-generate.
+ * configure.ac: Don't check for mkdtemp.
+ * gnulib/aclocal-m4-deps.mk: Re-generate.
+ * gnulib/aclocal.m4: Re-generate.
+ * gnulib/config.in: Re-generate.
+ * gnulib/configure: Re-generate.
+ * gnulib/import/Makefile.am: Re-generate.
+ * gnulib/import/Makefile.in: Re-generate.
+ * gnulib/import/m4/gnulib-cache.m4: Re-generate.
+ * gnulib/import/m4/gnulib-comp.m4: Re-generate.
+ * gnulib/import/m4/mkdtemp.m4: New file.
+ * gnulib/import/mkdtemp.c: New file.
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES):
+ Add mkdtemp module.
+ * unittests/mkdir-recursive-selftests.c (test): Use
+ get_standard_temp_dir.
+ (_initialize_mkdir_recursive_selftests): Remove HAVE_MKDTEMP
+ ifdef.
+ * compile/compile.c (get_compile_file_tempdir): Likewise.
+
+2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
+
+ * rs6000-aix-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
+ (SIG_FRAME_LR_OFFSET64): New define.
+ (SIG_FRAME_FP_OFFSET64): New define.
+ (aix_sighandle_frame_cache): New Function.
+ (aix_sighandle_frame_this_id): New Function.
+ (aix_sighandle_frame_prev_register): New Function.
+ (aix_sighandle_frame_sniffer): New Function.
+ (aix_sighandle_frame_unwind): New global variable.
+ (rs6000_aix_init_osabi): Install new frame unwinder.
+
+2018-10-31 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/23835
+ * common/common-defs.h: Don't redefine _FORTIFY_SOURCE if it's
+ already defined.
+
+2018-10-31 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * ppc-linux-nat.c: Include nat/linux-ptrace.h.
+
+2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2read.c (struct dwarf2_cu): Add producer_is_icc field.
+ (producer_is_icc): New function.
+ (check_producer): Set producer_is_icc field on dwarf2_cu.
+ (dwarf2_init_integer_type): New function.
+ (read_base_type): Call dwarf2_init_integer_type instead of
+ init_integer_type in all cases.
+ (dwarf2_cu::dwarf2_cu): Initialise producer_is_icc field.
+ * valprint.c (maybe_negate_by_bytes): Add an assertion that the
+ LEN is greater than 0.
+
+2018-10-30 Tom Tromey <tom@tromey.com>
+
+ * main.c (captured_main_1): Check return value of bfd_init.
+
+2018-10-29 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * common/offset-type.h (DEFINE_OFFSET_REL_OP): Delete.
+ Adjust comments.
+
+2018-10-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * procfs.c: Include common/pathstuff.h.
+
+2018-10-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-linux-nat.c (riscv_linux_nat_target::fetch_registers):
+ Add missing braces. No functional change.
+
+2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * macrocmd.c (info_macro_command): Use report_unrecognized_option_error
+ to report a bad option and fix indentation.
+ * demangle.c (demangle_command): Use report_unrecognized_option_error
+ to report a bad option and correctly report the bad option.
+
+2018-10-27 Tom Tromey <tom@tromey.com>
+
+ PR cli/23364:
+ * darwin-nat.c (copied_shell): New global.
+ (may_have_sip): Rename from should_disable_startup_with_shell.
+ (copy_shell_to_cache, maybe_cache_shell): New functions.
+ (darwin_nat_target::create_inferior): Update. Use
+ copied_shell.
+
+2018-10-27 Tom Tromey <tom@tromey.com>
+
+ * unittests/scoped_fd-selftests.c (test_to_file): New function.
+ (run_tests): Call test_to_file.
+ * dwarf-index-write.c (write_psymtabs_to_index): Do not reopen
+ temporary files.
+ * common/scoped_fd.h (scoped_fd::to_file): New method.
+
+2018-10-27 Tom Tromey <tom@tromey.com>
+
+ * unittests/scoped_mmap-selftests.c (test_normal): Use
+ gdb_mkostemp_cloexec.
+ * unittests/scoped_fd-selftests.c (test_destroy, test_release):
+ Use gdb_mkostemp_cloexec.
+ * gnulib/aclocal-m4-deps.mk, gnulib/aclocal.m4,
+ gnulib/config.in, gnulib/configure,
+ gnulib/import/Makefile.am, gnulib/import/Makefile.in,
+ gnulib/import/m4/gnulib-cache.m4,
+ gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/mkostemp.m4: New file.
+ * gnulib/import/m4/mkstemp.m4: Remove.
+ * gnulib/import/mkostemp.c: New file.
+ * gnulib/import/mkstemp.m4: Remove.
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Remove
+ mkstemp, add mkostemp. Apply new patch.
+ * gnulib/import/stdlib.in.h: Apply patch.
+ * gnulib/patches/0002-mkostemp-mkostemps-Fix-compilation-error-in-C-mode-o.patch:
+ New file.
+ * dwarf-index-write.c (write_psymtabs_to_index): Use
+ gdb_mkostemp_cloexec.
+ * common/filestuff.h (gdb_mkostemp_cloexec): New function.
+
+2018-10-27 Tom Tromey <tom@tromey.com>
+
+ * unittests/mkdir-recursive-selftests.c: New file.
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ unittests/mkdir-recursive-selftests.c.
+ * dwarf-index-cache.c (mkdir_recursive): Move to
+ common/filestuff.c.
+ (index_cache::store): Check return value of mkdir_recursive.
+ (create_dir_and_check, test_mkdir_recursive): Move to new file.
+ (_initialize_index_cache): Don't register test.
+ * common/filestuff.h (mkdir_recursive): Declare.
+ * common/filestuff.c (mkdir_recursive): Move from
+ dwarf-index-cache.c. Return bool.
+
+2018-10-27 Tom Tromey <tom@tromey.com>
+
+ * dwarf-index-write.c (write_psymtabs_to_index): Move
+ make_temp_filename to common/pathstuff.c.
+ * common/pathstuff.h (make_temp_filename): Declare.
+ * common/pathstuff.c (make_temp_filename): New function, moved
+ from dwarf-index-write.c.
+
+2018-10-27 Tom Tromey <tom@tromey.com>
+
+ * procfs.c (procfs_target::create_inferior): Use get_shell.
+ * cli/cli-cmds.c (shell_escape): Use get_shell.
+ * windows-nat.c (windows_nat_target::create_inferior): Use
+ get_shell.
+ * common/pathstuff.c (get_shell): New function.
+ * nat/fork-inferior.c (SHELL_FILE, get_startup_shell): Remove.
+ (fork_inferior): Use get_shell.
+ * common/pathstuff.h (get_shell): Declare.
+
+2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * NEWS: Mention changes to 'info [args|functions|locals|variables]'
+
+2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * stack.c (print_variable_and_value_data): Add preg and treg.
+ (print_frame_local_vars): Add quiet, regexp and t_regexp arguments,
+ and update callers.
+ (print_frame_arg_vars): Likewise.
+ (prepare_reg): New function.
+ (info_locals_command): Extract info print args and use them.
+ (info_args_command): Likewise.
+ (_initialize_stack): Modify on-line help.
+ * symtab.c (treg_matches_sym_type_name): New function.
+ (search_symbols): New arg t_regexp.
+ (symtab_symbol_info): New args quiet, regexp, t_regexp.
+ (info_variables_command): Extract info print args and use them.
+ (info_functions_command): Likewise.
+ (info_types_command): Update call to symtab_symbol_info.
+ (_initialize_symtab): Modify on-line help.
+ * symtab.h (treg_matches_sym_type_name): New function.
+ (search_symbols): New t_regexp arg.
+
+2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * cli-utils.c (extract_arg_maybe_quoted): New function.
+ (extract_info_print_args): New function.
+ (info_print_args_help): New function.
+ (report_unrecognized_option_error): New function.
+ * cli-utils.h (extract_arg_maybe_quoted): New function.
+ (extract_info_print_args): New function.
+ (info_print_args_help): New function.
+ (report_unrecognized_option_error): New function.
+
+2018-10-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2read.c (recursively_compute_inclusions): Use std::vector.
+ (compute_compunit_symtab_includes): Update.
+ * symtab.h: (symtab_ptr): Remove typedef. Don't define a VEC.
+ (compunit_symtab_ptr): Likewise.
+
+2018-10-26 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-tdep.c (fbsd_print_auxv_entry): Only use
+ default_print_auxv_entry for specific tag values.
+
+2018-10-26 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_HWCAP2.
+
+2018-10-26 Jim Wilson <jimw@sifive.com>
+
+ * riscv-linux-tdep.c: Include tramp-frame.h and trad-frame.h.
+ (riscv_linux_sigframe_init): Declare.
+ (RISCV_INST_LI_A7_SIGRETURN, RISCV_INT_ECALL): New.
+ (riscv_linux_sigframe): New.
+ (SIGFRAME_SIGINFO_SIZE, UCONTEXT_MCONTEXT_OFFSET): New.
+ (riscv_linux_sigframe_init): Define.
+ (riscv_linux_init_abi): Call tramp_frame_prepend_unwinder.
+
+ * riscv-tdep.c (riscv_isa_xlen): Refer to riscv-tdep.h comment.
+ (riscv_isa_flen): Likewise. Drop static.
+ * riscv-tdep.h (riscv_isa_xlen): Move riscv-tdep.c comment to here.
+ (riscv_isa_flen): Likewise. Declare.
+
+2018-10-26 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+ Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * arch/ppc-linux-tdesc.h (tdesc_powerpc_isa207_htm_vsx32l)
+ (tdesc_powerpc_isa207_htm_vsx64l): Declare.
+ * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_TM_SPRREGSET)
+ (PPC32_LINUX_SIZEOF_CGPRREGSET, PPC64_LINUX_SIZEOF_CGPRREGSET)
+ (PPC_LINUX_SIZEOF_CFPRREGSET, PPC_LINUX_SIZEOF_CVMXREGSET)
+ (PPC_LINUX_SIZEOF_CVSXREGSET, PPC_LINUX_SIZEOF_CPPRREGSET)
+ (PPC_LINUX_SIZEOF_CDSCRREGSET, PPC_LINUX_SIZEOF_CTARREGSET):
+ Define.
+ (struct ppc_linux_features) <htm>: New field.
+ (ppc_linux_no_features): Add initializer for htm field.
+ * arch/ppc-linux-common.c (ppc_linux_match_description): Return
+ new tdescs.
+ * nat/ppc-linux.h (PPC_FEATURE2_HTM, NT_PPC_TM_CGPR)
+ (NT_PPC_TM_CFPR, NT_PPC_TM_CVMX, NT_PPC_TM_CVSX)
+ (NT_PPC_TM_SPR, NT_PPC_TM_CTAR, NT_PPC_TM_CPPR, NT_PPC_TM_CDSCR):
+ Define if not already defined.
+ * features/Makefile (WHICH): Add rs6000/powerpc-isa207-htm-vsx32l
+ and rs6000/powerpc-isa207-htm-vsx64l.
+ (XMLTOC): Add rs6000/powerpc-isa207-htm-vsx32l.xml and
+ rs6000/powerpc-isa207-htm-vsx64l.xml.
+ * features/rs6000/power-htm-spr.xml: New file.
+ * features/rs6000/power-htm-core.xml: New file.
+ * features/rs6000/power64-htm-core.xml: New file.
+ * features/rs6000/power-htm-fpu.xml: New file.
+ * features/rs6000/power-htm-altivec.xml: New file.
+ * features/rs6000/power-htm-vsx.xml: New file.
+ * features/rs6000/power-htm-ppr.xml: New file.
+ * features/rs6000/power-htm-dscr.xml: New file.
+ * features/rs6000/power-htm-tar.xml: New file.
+ * features/rs6000/powerpc-isa207-htm-vsx32l.xml: New file.
+ * features/rs6000/powerpc-isa207-htm-vsx64l.xml: New file.
+ * features/rs6000/powerpc-isa207-htm-vsx32l.c: Generate.
+ * features/rs6000/powerpc-isa207-htm-vsx64l.c: Generate.
+ * regformats/rs6000/powerpc-isa207-htm-vsx32l.dat: Generate.
+ * regformats/rs6000/powerpc-isa207-htm-vsx64l.dat: Generate.
+ * ppc-linux-nat.c (fetch_register, fetch_ppc_registers): Call
+ fetch_regset with HTM regsets.
+ (store_register, store_ppc_registers): Call store_regset with HTM
+ regsets.
+ (ppc_linux_nat_target::read_description): Set htm field in the
+ features struct if needed.
+ * ppc-linux-tdep.c: Include
+ features/rs6000/powerpc-isa207-htm-vsx32l.c and
+ features/rs6000/powerpc-isa207-htm-vsx64l.c.
+ (ppc32_regmap_tm_spr, ppc32_regmap_cgpr, ppc64_le_regmap_cgpr)
+ (ppc64_be_regmap_cgpr, ppc32_regmap_cfpr, ppc32_le_regmap_cvmx)
+ (ppc32_be_regmap_cvmx, ppc32_regmap_cvsx, ppc32_regmap_cppr)
+ (ppc32_regmap_cdscr, ppc32_regmap_ctar): New globals.
+ (ppc32_linux_tm_sprregset, ppc32_linux_cgprregset)
+ (ppc64_be_linux_cgprregset, ppc64_le_linux_cgprregset)
+ (ppc32_linux_cfprregset, ppc32_le_linux_cvmxregset)
+ (ppc32_be_linux_cvmxregset, ppc32_linux_cvsxregset)
+ (ppc32_linux_cpprregset, ppc32_linux_cdscrregset)
+ (ppc32_linux_ctarregset): New globals.
+ (ppc_linux_cgprregset, ppc_linux_cvmxregset): New functions.
+ (ppc_linux_collect_core_cpgrregset): New function.
+ (ppc_linux_iterate_over_regset_sections): Call back with the htm
+ regsets.
+ (ppc_linux_core_read_description): Check if the tm spr section is
+ present and set htm in the features struct.
+ (_initialize_ppc_linux_tdep): Call
+ initialize_tdesc_powerpc_isa207_htm_vsx32l and
+ initialize_tdesc_powerpc_isa207_htm_vsx64l.
+ * ppc-linux-tdep.h (ppc_linux_cgprregset, ppc_linux_cvmxregset):
+ Declare.
+ (ppc32_linux_tm_sprregset, ppc32_linux_cfprregset)
+ (ppc32_linux_cvsxregset, ppc32_linux_cpprregset)
+ (ppc32_linux_cdscrregset, ppc32_linux_ctarregset): Declare.
+ * ppc-tdep.h (struct gdbarch_tdep) <have_htm_spr, have_htm_core>:
+ New fields.
+ <have_htm_fpu, have_htm_altivec, have_htm_vsx>:
+ Likewise.
+ <ppc_cppr_regnum, ppc_cdscr_regnum, ppc_ctar_regnum>: Likewise.
+ <ppc_cdl0_regnum, ppc_cvsr0_regnum, ppc_cefpr0_regnum>: Likewise.
+ (enum) <PPC_TFHAR_REGNUM, PPC_TEXASR_REGNUM, PPC_TFIAR_REGNUM>:
+ New enum fields.
+ <PPC_CR0_REGNUM, PPC_CCR_REGNUM, PPC_CXER_REGNUM>: Likewise.
+ <PPC_CLR_REGNUM, PPC_CCTR_REGNUM, PPC_CF0_REGNUM>: Likewise.
+ <PPC_CFPSCR_REGNUM, PPC_CVR0_REGNUM, PPC_CVSCR_REGNUM>: Likewise.
+ <PPC_CVRSAVE_REGNUM, PPC_CVSR0_UPPER_REGNUM>: Likewise.
+ <PPC_CPPR_REGNUM, PPC_CDSCR_REGNUM>: Likewise.
+ <PPC_CTAR_REGNUM>: Likewise.
+ (PPC_IS_TMSPR_REGNUM, PPC_IS_CKPTGP_REGNUM, PPC_IS_CKPTFP_REGNUM)
+ (PPC_IS_CKPTVMX_REGNUM, PPC_IS_CKPTVSX_REGNUM): Define.
+ * rs6000-tdep.c (IS_CDFP_PSEUDOREG, IS_CVSX_PSEUDOREG)
+ (IS_CEFP_PSEUDOREG): Define.
+ (rs6000_register_name): Hide the upper halves of checkpointed VSX
+ registers. Return names for the checkpointed DFP, VSX, and EFP
+ pseudo registers.
+ (rs6000_pseudo_register_type): Remove initial assert and raise an
+ internal error in the else clause instead. Return types for the
+ checkpointed DFP, VSX, and EFP pseudo registers.
+ (dfp_pseudo_register_read, dfp_pseudo_register_write): Handle
+ checkpointed DFP pseudo registers.
+ (vsx_pseudo_register_read, vsx_pseudo_register_write): Handle
+ checkpointed VSX pseudo registers.
+ (efp_pseudo_register_read, efp_pseudo_register_write): Rename
+ from efpr_pseudo_register_read and
+ efpr_pseudo_register_write. Handle checkpointed EFP pseudo
+ registers.
+ (rs6000_pseudo_register_read, rs6000_pseudo_register_write):
+ Handle checkpointed DFP, VSX, and EFP registers.
+ (dfp_ax_pseudo_register_collect, vsx_ax_pseudo_register_collect)
+ (efp_ax_pseudo_register_collect): New functions.
+ (rs6000_ax_pseudo_register_collect): Move DFP, VSX and EFP pseudo
+ register logic to new functions. Handle checkpointed DFP, VSX,
+ and EFP pseudo registers.
+ (rs6000_gdbarch_init): Look for and validate the htm features.
+ Include checkpointed DFP, VSX and EFP pseudo-registers.
+ * NEWS: Mention access to PPR, DSCR, TAR, EBB/PMU registers and
+ HTM registers.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Reject tdescs with vsx but
+ without altivec or fpu.
+
+2018-10-26 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+ Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_EBBREGSET)
+ (PPC_LINUX_SIZEOF_PMUREGSET): Declare.
+ * nat/ppc-linux.h (PPC_FEATURE2_EBB, NT_PPC_EBB, NT_PPC_PMU):
+ Define if not already defined.
+ * features/rs6000/power-ebb.xml: New file.
+ * features/rs6000/power-linux-pmu.xml: New file.
+ * features/rs6000/powerpc-isa207-vsx32l.xml: Include ebb and pmu
+ features.
+ * features/rs6000/powerpc-isa207-vsx64l.xml: Likewise.
+ * features/rs6000/powerpc-isa207-vsx32l.c: Re-generate.
+ * features/rs6000/powerpc-isa207-vsx64l.c: Re-generate.
+ * regformats/rs6000/powerpc-isa207-vsx32l.dat: Re-generate.
+ * regformats/rs6000/powerpc-isa207-vsx64l.dat: Re-generate.
+ * ppc-linux-nat.c (fetch_register, fetch_ppc_registers): Call
+ fetch_regset with ebb and pmu regsets.
+ (store_register, store_ppc_registers): Call store_regset with ebb
+ and pmu regsets.
+ (ppc_linux_nat_target::read_description): Set isa207 field in the
+ features struct if ebb and pmu are avaiable.
+ * ppc-linux-tdep.c (ppc32_regmap_ebb, ppc32_regmap_pmu)
+ (ppc32_linux_ebbregset, ppc32_linux_pmuregset): New globals.
+ (ppc_linux_iterate_over_regset_sections): Call back with the ebb
+ and pmu regsets.
+ (ppc_linux_core_read_description): Check if the pmu section is
+ present and set isa207 in the features struct.
+ * ppc-linux-tdep.h (ppc32_linux_ebbregset)
+ (ppc32_linux_pmuregset): Declare.
+ * ppc-tdep.h (struct gdbarch_tdep) <ppc_mmcr0_regnum>: New field.
+ <ppc_mmcr2_regnum, ppc_siar_regnum, ppc_sdar_regnum>: New fields.
+ <ppc_sier_regnum>: New field.
+ (enum): <PPC_BESCR_REGNUM, PPC_EBBHR_REGNUM, PPC_EBBRR_REGNUM>:
+ New enum values.
+ <PPC_MMCR0_REGNUM, PPC_MMCR2_REGNUM, PPC_SIAR_REGNUM>: New enum
+ values.
+ <PPC_SDAR_REGNUM, PPC_SIER_REGNUM>: New enum values.
+ (PPC_IS_EBB_REGNUM, PPC_IS_PMU_REGNUM): Define.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Look for and validate the
+ ebb and pmu features.
+
+2018-10-26 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+ Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * arch/ppc-linux-tdesc.h (tdesc_powerpc_isa207_vsx32l)
+ (tdesc_powerpc_isa207_vsx64l): Declare.
+ * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_TARREGSET): Define.
+ (struct ppc_linux_features) <isa207>: New field.
+ (ppc_linux_no_features): Add initializer for isa207 field.
+ * arch/ppc-linux-common.c (ppc_linux_match_description): Return
+ new tdescs.
+ * nat/ppc-linux.h (PPC_FEATURE2_ARCH_2_07, PPC_FEATURE2_TAR)
+ (NT_PPC_TAR): Define if not already defined.
+ * features/Makefile (WHICH): Add rs6000/powerpc-isa207-vsx32l and
+ rs6000/powerpc-isa207-vsx64l.
+ (XMLTOC): Add rs6000/powerpc-isa207-vsx32l.xml and
+ rs6000/powerpc-isa207-vsx64l.xml.
+ * features/rs6000/power-tar.xml: New file.
+ * features/rs6000/powerpc-isa207-vsx32l.xml: New file.
+ * features/rs6000/powerpc-isa207-vsx64l.xml: New file.
+ * features/rs6000/powerpc-isa207-vsx32l.c: Generate.
+ * features/rs6000/powerpc-isa207-vsx64l.c: Generate.
+ * regformats/rs6000/powerpc-isa207-vsx32l.dat: Generate.
+ * regformats/rs6000/powerpc-isa207-vsx64l.dat: Generate.
+ * ppc-linux-nat.c (fetch_register, fetch_ppc_registers): Call
+ fetch_regset with the TAR regset.
+ (store_register, store_ppc_registers): Call store_regset with the
+ TAR regset.
+ (ppc_linux_nat_target::read_description): Set isa207 field in the
+ features struct if needed.
+ * ppc-linux-tdep.c: Include
+ features/rs6000/powerpc-isa207-vsx32l.c and
+ features/rs6000/powerpc-isa207-vsx64l.c.
+ (ppc32_regmap_tar, ppc32_linux_tarregset): New globals.
+ (ppc_linux_iterate_over_regset_sections): Call back with the tar
+ regset.
+ (ppc_linux_core_read_description): Check if the tar section is
+ present and set isa207 in the features struct.
+ (_initialize_ppc_linux_tdep): Call
+ initialize_tdesc_powerpc_isa207_vsx32l and
+ initialize_tdesc_powerpc_isa207_vsx64l.
+ * ppc-linux-tdep.h (ppc32_linux_tarregset): Declare.
+ * ppc-tdep.h (gdbarch_tdep) <ppc_tar_regnum>: New field.
+ (enum) <PPC_TAR_REGNUM>: New enum value.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Look for and validate tar
+ feature.
+ (ppc_process_record_op31): Record changes to TAR.
+
+2018-10-26 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+ Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * arch/ppc-linux-tdesc.h (tdesc_powerpc_isa205_ppr_dscr_vsx32l)
+ (tdesc_powerpc_isa205_ppr_dscr_vsx64l): Declare.
+ * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_PPRREGSET)
+ (PPC_LINUX_SIZEOF_DSCRREGSET): Define.
+ (struct ppc_linux_features) <ppr_dscr>: New field.
+ (ppc_linux_no_features): Add initializer for ppr_dscr field.
+ * arch/ppc-linux-common.c (ppc_linux_match_description): Return
+ new tdescs.
+ * nat/ppc-linux.h (PPC_FEATURE2_DSCR, NT_PPC_PPR, NT_PPC_DSCR):
+ Define if not already defined.
+ * features/Makefile (WHICH): Add
+ rs6000/powerpc-isa205-ppr-dscr-vsx32l and
+ rs6000/powerpc-isa205-ppr-dscr-vsx64l.
+ (XMLTOC): Add rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml and
+ rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml.
+ * features/rs6000/power-dscr.xml: New file.
+ * features/rs6000/power-ppr.xml: New file.
+ * features/rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml: New file.
+ * features/rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml: New file.
+ * features/rs6000/powerpc-isa205-ppr-dscr-vsx32l.c: Generate.
+ * features/rs6000/powerpc-isa205-ppr-dscr-vsx64l.c: Generate.
+ * regformats/rs6000/powerpc-isa205-ppr-dscr-vsx32l.dat: Generate.
+ * regformats/rs6000/powerpc-isa205-ppr-dscr-vsx64l.dat: Generate.
+ * ppc-linux-nat.c: Include <sys/uio.h>.
+ (fetch_regset, store_regset, check_regset): New functions.
+ (fetch_register, fetch_ppc_registers): Call fetch_regset with
+ DSCR and PPR regsets.
+ (store_register, store_ppc_registers): Call store_regset with
+ DSCR and PPR regsets.
+ (ppc_linux_get_hwcap2): New function.
+ (ppc_linux_nat_target::read_description): Call
+ ppc_linux_get_hwcap2 and check_regset, set ppr_dscr field in the
+ features struct if needed.
+ * ppc-linux-tdep.c: Include
+ features/rs6000/powerpc-isa205-ppr-dscr-vsx32l.c and
+ features/rs6000/powerpc-isa205-ppr-dscr-vsx64l.c.
+ (ppc32_regmap_ppr, ppc32_regmap_dscr, ppc32_linux_pprregset)
+ (ppc32_linux_dscrregset): New globals.
+ (ppc_linux_iterate_over_regset_sections): Call back with the ppr
+ and dscr regsets.
+ (ppc_linux_core_read_description): Check if the ppr and dscr
+ sections are present and set ppr_dscr in the features struct.
+ (_initialize_ppc_linux_tdep): Call
+ initialize_tdesc_powerpc_isa205_ppr_dscr_vsx32l and
+ initialize_tdesc_powerpc_isa205_ppr_dscr_vsx64l.
+ * ppc-linux-tdep.h (ppc32_linux_pprregset)
+ (ppc32_linux_dscrregset): Declare.
+ * ppc-tdep.h (struct gdbarch_tdep) <ppc_ppr_regnum>: New field.
+ <ppc_dscr_regnum>: New field.
+ (enum) <PPC_PPR_REGNUM, PPC_DSCR_REGNUM>: New enum values.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Look for and validate ppr
+ and dscr features.
+ (ppc_process_record_op31): Record changes to PPR and DSCR.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Replace line wrapping by a
+ second initializer line for the have_* variables. Initialize
+ have_fpu to 0 instead of 1.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * arch/ppc-linux-common.c (ppc_linux_match_description):
+ Parenthesize tdesc assignements and indent them properly.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * ppc-linux-nat.c (fetch_register): Change if statement to else
+ if.
+ (store_register): Likewise.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * rs6000-tdep.c: Remove reggroups.h include.
+ (rs6000_pseudo_register_reggroup_p): Remove.
+ (rs6000_gdbarch_init): Remove call to
+ set_tdesc_pseudo_register_reggroup_p.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * reggroups.c (default_register_reggroup_p): Return true for
+ decfloat registers and float_reggroup.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * ppc-linux-tdep.c (ppc_linux_collect_vrregset): Remove.
+ (ppc32_le_linux_vrregset, ppc32_be_linux_vrregset): Replace
+ ppc_linux_collect_vrregset by regcache_collect_regset.
+
+2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
+
+ * linux-tdep.c (linux_collect_regset_section_cb): Use
+ std::vector<gdb_byte> instead of char * and malloc for buf.
+ Remove xfree.
+
+2018-10-26 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
+
+ * xcoffread.c (read_xcoff_symtab): Pass deduced language to
+ symtab_start instead of always using language_unknown.
+
+2018-10-26 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_read_misa_reg): Update comment, remove
+ READ_P parameter, catch and ignore register access errors from
+ either the old or new MISA location.
+ (riscv_has_feature): Update call to riscv_read_misa_reg.
+
+2018-10-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-function.c (convert_values_to_python): Return
+ gdbpy_ref<>. Add header comment.
+ (fnpy_call): Adjust.
+
+2018-10-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-cmd.c (cmdpy_completer_helper): Return gdbpy_ref<>.
+ (cmdpy_completer_handle_brkchars): Adjust.
+ (cmdpy_completer): Adjust.
+
+2018-10-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-linux-nat.c (riscv_linux_nat_target::fetch_registers):
+ Pass correct regnum to raw_supply_zeroed.
+
+2018-10-23 Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * regcache.c (cooked_read_test): Add CSKY to the list of
+ architectures with a save_reggroup
+
+2018-10-23 Simon Marchi <simon.marchi@polymtl.ca>
+
+ PR gdb/23368
+ * infrun.c (follow_exec): In the follow_exec_mode_new case,
+ transfer terminal state from old new new inferior.
+ * terminal.h (swap_terminal_info): New function.
+ * inflow.c (swap_terminal_info): New function.
+
+2018-10-23 Tom Tromey <tom@tromey.com>
+
+ * record-btrace.c (get_thread_current_frame_id): Rename from
+ get_thread_current_frame. Return a frame_id.
+ (record_btrace_start_replaying): Update.
+
+2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_register_name): Use the user-friendly names
+ for CSRs.
+
+2018-10-23 Joel Brobecker <brobecker@adacore.com>
+
+ * riscv-tdep.c (riscv_gdbarch_init): Set the gdbarch's
+ have_nonsteppable_watchpoint attribute to 1.
+
+2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_gdb_reg_names): Update comment, and all
+ register names.
+ (struct register_alias): Rename to...
+ (struct riscv_register_alias): ...this, and update comment.
+ (riscv_register_aliases): Update type, and alias names. Remove
+ CSR names from this list.
+ (riscv_register_name): Use riscv_gdb_reg_names for int and float
+ register names. Add an extra assertion.
+ (riscv_is_regnum_a_named_csr): New function.
+ (riscv_register_reggroup_p): Use riscv_is_regnum_a_named_csr.
+
+2018-10-22 Jim Wilson <jimw@sifive.com>
+
+ * riscv-tdep.c (riscv_push_dummy_call) <in_reg>: Check for value in
+ FP reg smaller than FP reg size, and fill with -1 instead of 0.
+
+ * riscv-tdep.c (riscv_fpreg_d_type, riscv_fpreg_q_type): New.
+ (riscv_register_type): Use them.
+ (riscv_print_one_register_info): Handle union of floats same as float.
+ * riscv-tdep.h (struct gdbarch_tdep): Add riscv_fpreg_d_type and
+ riscv_fpreg_q_type fields.
+
+2018-10-21 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdbarch.sh (gdbarch_num_cooked_regs): New.
+ * gdbarch.h: Re-generate.
+ * ax-gdb.c (gen_expr): Use gdbarch_num_cooked_regs.
+ * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ * findvar.c (value_of_register): Likewise.
+ (value_of_register_lazy): Likewise.
+ (address_from_register): Likewise.
+ * frame.c (get_frame_register_bytes): Likewise.
+ * gdbarch-selftests.c (register_to_value_test): Likewise.
+ * h8300-tdep.c (h8300_register_type): Likewise.
+ * i386-tdep.c (i386_dbx_reg_to_regnum): Likewise.
+ (i386_svr4_reg_to_regnum): Likewise.
+ * infcmd.c (default_print_registers_info): Likewise.
+ (registers_info): Likewise.
+ (print_vector_info): Likewise.
+ (default_print_float_info): Likewise.
+ * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
+ * mdebugread.c (mdebug_reg_to_regnum): Likewise.
+ * mi/mi-main.c (mi_cmd_data_list_register_names): Likewise.
+ (mi_cmd_data_list_changed_registers): Likewise.
+ (mi_cmd_data_list_register_values): Likewise.
+ (mi_cmd_data_write_register_values): Likewise.
+ (mi_cmd_trace_frame_collected): Likewise.
+ * mips-tdep.c (print_gp_register_row): Likewise.
+ (mips_print_registers_info): Likewise.
+ * nds32-tdep.c (nds32_gdbarch_init): Likewise.
+ * regcache.c (init_regcache_descr): Likewise.
+ (register_size): Likewise.
+ (register_dump::dump): Likewise.
+ (cooked_read_test): Likewise.
+ (cooked_write_test): Likewise.
+ * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
+ (rs6000_gdbarch_init): Likewise.
+ * stabsread.c (stab_reg_to_regnum): Likewise.
+ * stack.c (info_frame_command): Likewise.
+ * target-descriptions.c (tdesc_register_name): Likewise.
+ * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
+ * tui/tui-regs.c (tui_show_register_group): Likewise.
+ * user-regs.c (user_reg_map_name_to_regnum): Likewise.
+ (user_reg_map_regnum_to_name): Likewise.
+ (value_of_user_reg): Likewise.
+ (maintenance_print_user_registers): Likewise.
+ * xtensa-tdep.c (xtensa_find_register_by_name): Likewise.
+ (xtensa_register_name): Likewise.
+ (xtensa_register_type): Likewise.
+ (xtensa_reg_to_regnum): Likewise.
+ (xtensa_pseudo_register_read): Likewise.
+ (xtensa_pseudo_register_write): Likewise.
+
+2018-10-21 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * amd64-tdep.c (amd64_pseudo_register_read_value): Use
+ correctly-sized buffer with raw_read.
+ (amd64_pseudo_register_write): Use correctly-sized buffer for
+ raw_read/raw_write.
+
2018-10-19 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* typeprint.c (_initialize_typeprint): Fix wrong prefixname arg