+2015-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * completer.c: Add arch-utils.h include.
+ (enum reg_completer_targets): New enum.
+ (reg_or_group_completer_1): New function containing old
+ reg_or_group_completer, add and use new parameter to control what
+ is completed on. Use get_current_arch rather than architecture of
+ currently selected frame.
+ (reg_or_group_completer): Call new reg_or_group_completer_1.
+ (reggroup_completer): Call new reg_or_group_completer_1.
+ * completer.h (reggroup_completer): Add declaration.
+ * tui/tui-regs.c: Add 'completer.h' include.
+ (tui_reg_next_command): Renamed to...
+ (tui_reg_next): ...this. Adjust parameters and return rather than
+ display new group.
+ (tui_reg_prev_command): Renamed to...
+ (tui_reg_prev): ...this. Adjust parameters and return rather than
+ display new group.
+ (tui_reg_float_command): Delete.
+ (tui_reg_general_command): Delete.
+ (tui_reg_system_command): Delete.
+ (tui_reg_command): Rewrite to perform switching of register group.
+ Add header comment.
+ (tuireglist): Remove.
+ (tui_reggroup_completer): New function.
+ (_initialize_tui_regs): Remove 'tui reg' sub-commands, update
+ creation of 'tui reg' command.
+ * NEWS: Add comment about 'tui reg' changes.
+
+2015-06-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.c (target_read): Consider addressable unit size when
+ reading from a memory object.
+ (read_memory_robust): Same.
+ (read_whatever_is_readable): Same.
+ (target_write_with_progress): Consider addressable unit size
+ when writing to a memory object.
+ * target.h (target_read): Update documentation.
+ (target_write): Add documentation.
+
+2015-06-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * arch-utils.h (default_addressable_memory_unit_size): New.
+ * arch-utils.c (default_addressable_memory_unit_size): New.
+ * gdbarch.sh (addressable_memory_unit_size): New.
+ * gdbarch.h: Re-generate.
+ * gdbarch.c: Re-generate.
+
+2015-06-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.c (target_read): Rename variables and use
+ TARGET_XFER_E_IO.
+ (target_read_with_progress): Same.
+ (read_memory_robust): Constify parameters and rename
+ variables.
+ (read_whatever_is_readable): Constify parameters,
+ rename variables, adjust formatting.
+ * target.h (read_memory_robust): Constify parameters.
+
+2015-05-12 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value_base): Handle short
+ synthetic (non-AltiVec) vector types.
+ (ppc64_sysv_abi_return_value): Likewise.
+
+2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ PR breakpoints/16465
+ * breakpoint.c (create_breakpoint): Save extra_string for
+ pending breakpoints.
+
+2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i386-tdep.c (i386_mpx_get_bt_entry): Add a cast for mpx_bd_mask
+ and bt_mask to CORE_ADDR.
+
+2015-06-11 Gary Benson <gbenson@redhat.com>
+
+ * nat/linux-namespaces.c (mnsh_send_message): Use pulongest.
+ (mnsh_recv_message): Likewise.
+
+2015-06-11 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i386-tdep.c (i386_mpx_print_bounds): use of LONGEST instead of
+ long long int and plongest instead of %ll.
+
+2015-06-11 Gary Benson <gbenson@redhat.com>
+
+ * nat/linux-namespaces.c (gdb_wait.h): New include.
+ (sys/wait.h): Do not include.
+
+2015-06-10 Simon Marchi <simon.marchi@ericsson.com>
+
+ * dwarf2read.c (dwarf_record_line): Call dwarf_record_line if
+ end_sequence is true.
+
+2015-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * solib-target.c (library_list_start_list): Use explicit NULL
+ comparison.
+
+2015-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * solib-target.c (library_list_start_list): Do not dereference
+ variable version in its initialization. Make the VERSION check handle
+ NULL.
+ (library_list_attributes): Make "version" GDB_XML_AF_OPTIONAL.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * NEWS: Announce support for direct access of executable and
+ shared library files when attaching to inferiors in containers
+ on GNU/Linux systems.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * remote.c (struct remote_state) <fs_pid>: New field.
+ (new_remote_state): Initialize the above.
+ (PACKET_vFile_setfs): New enum value.
+ (remote_hostio_set_filesystem): New function.
+ (remote_hostio_open): Call the above.
+ (remote_hostio_unlink): Likewise.
+ (remote_hostio_readlink): Likewise.
+ (_initialize_remote): Register new "set/show remote
+ hostio-setfs-packet" command.
+ * NEWS: Announce new vFile:setfs packet.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * linux-nat.c (nat/linux-namespaces.h): New include.
+ (fileio.h): Likewise.
+ (linux_nat_filesystem_is_local): New function.
+ (linux_nat_fileio_pid_of): Likewise.
+ (linux_nat_fileio_open): Likewise.
+ (linux_nat_fileio_readlink): Likewise.
+ (linux_nat_fileio_unlink): Likewise.
+ (linux_nat_add_target): Initialize to_filesystem_is_local,
+ to_fileio_open, to_fileio_readlink and to_fileio_unlink.
+ (_initialize_linux_nat): New "set/show debug linux-namespaces"
+ commands.
+ * NEWS: Mention new "set/show debug linux-namespaces" commands.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * target.h (struct inferior): New forward declaration.
+ (struct target_ops) <to_filesystem_is_local>: Update comment.
+ (struct target_ops) <to_fileio_open>: New argument inf.
+ Update comment. All implementations updated.
+ (struct target_ops) <to_fileio_unlink>: Likewise.
+ (struct target_ops) <to_fileio_readlink>: Likewise.
+ (target_filesystem_is_local): Update comment.
+ (target_fileio_open): New argument inf. Update comment.
+ (target_fileio_unlink): Likewise.
+ (target_fileio_readlink): Likewise.
+ (target_fileio_read_alloc): Likewise.
+ (target_fileio_read_stralloc): Likewise.
+ * target.c (target_fileio_open): New argument inf.
+ Pass inf to implementation. Update debug printing.
+ (target_fileio_unlink): Likewise.
+ (target_fileio_readlink): Likewise.
+ (target_fileio_read_alloc_1): New argument inf. Pass inf
+ to target_fileio_open.
+ (target_fileio_read_alloc): New argument inf. Pass inf to
+ target_fileio_read_alloc_1.
+ (target_fileio_read_stralloc): Likewise.
+ * gdb_bfd.c (inferior.h): New include.
+ (gdb_bfd_iovec_fileio_open): Replace unused "open_closure"
+ argument with new argument "inferior". Pass inferior to
+ target_fileio_open.
+ (gdb_bfd_open): Supply inferior argument to
+ gdb_bfd_iovec_fileio_open.
+ * linux-tdep.c (linux_info_proc): Supply inf argument to
+ relevant target_fileio calls.
+ (linux_find_memory_regions_full): Likewise.
+ (linux_fill_prpsinfo): Likewise.
+ * remote.c (remote_filesystem_is_local): Supply inf
+ argument to remote_hostio_open.
+ (remote_file_put): Likewise.
+ (remote_file_get): Likewise.
+ (remote_file_delete): Supply inf argument to
+ remote_hostio_unlink.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * inf-child.c (inf_child_fileio_open): Replace comment.
+ (inf_child_fileio_pwrite): Likewise.
+ (inf_child_fileio_pread): Likewise.
+ (inf_child_fileio_fstat): Insert blank line before comment.
+ (inf_child_fileio_close): Replace comment.
+ (inf_child_fileio_unlink): Likewise.
+ (inf_child_fileio_readlink): Likewise.
+ * remote.c (remote_hostio_open): Likewise.
+ (remote_hostio_pread): Likewise.
+ (remote_hostio_pwrite): Likewise.
+ (remote_hostio_close): Likewise.
+ (remote_hostio_unlink): Likewise.
+ (remote_hostio_readlink): Likewise.
+ (remote_hostio_fstat): Likewise.
+ (remote_filesystem_is_local): Likewise.
+ * target.c (target_fileio_open): Likewise.
+ (target_fileio_pwrite): Likewise.
+ (target_fileio_pread): Likewise.
+ (target_fileio_fstat): Insert blank line before comment.
+ (target_fileio_close): Replace comment.
+ (target_fileio_unlink): Likewise.
+ (target_fileio_readlink): Likewise.
+ (target_fileio_read_alloc): Likewise.
+ (target_fileio_read_stralloc): Likewise.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * linux-thread-db.c (nat/linux-namespaces.h): New include.
+ (check_pid_namespace_match): Use linux_ns_same rather than
+ linux_proc_pid_get_ns to spot PID namespace mismatches.
+ * nat/linux-procfs.h (linux_proc_pid_get_ns): Remove.
+ * nat/linux-procfs.c (linux_proc_pid_get_ns): Likewise.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * configure.ac (AC_CHECK_FUNCS): Add setns.
+ * config.in: Regenerate.
+ * configure: Likewise.
+ * nat/linux-namespaces.h: New file.
+ * nat/linux-namespaces.c: Likewise.
+ * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-namespaces.h.
+ (linux-namespaces.o): New rule.
+ * config/aarch64/linux.mh (NATDEPFILES): Add linux-namespaces.o.
+ * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
+ * config/arm/linux.mh (NATDEPFILES): Likewise.
+ * config/i386/linux.mh (NATDEPFILES): Likewise.
+ * config/i386/linux64.mh (NATDEPFILES): Likewise.
+ * config/ia64/linux.mh (NATDEPFILES): Likewise.
+ * config/m32r/linux.mh (NATDEPFILES): Likewise.
+ * config/m68k/linux.mh (NATDEPFILES): Likewise.
+ * config/mips/linux.mh (NATDEPFILES): Likewise.
+ * config/pa/linux.mh (NATDEPFILES): Likewise.
+ * config/powerpc/linux.mh (NATDEPFILES): Likewise.
+ * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
+ * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
+ * config/s390/linux.mh (NATDEPFILES): Likewise.
+ * config/sparc/linux.mh (NATDEPFILES): Likewise.
+ * config/sparc/linux64.mh (NATDEPFILES): Likewise.
+ * config/tilegx/linux.mh (NATDEPFILES): Likewise.
+ * config/xtensa/linux.mh (NATDEPFILES): Likewise.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * utils.h (make_cleanup_close): Moved to common/filestuff.h.
+ * utils.c (do_close_cleanup): Moved to common/filestuff.c.
+ (make_cleanup_close): Likewise.
+ * common/filestuff.h (make_cleanup_close): Moved from utils.h.
+ * common/filestuff.c (do_close_cleanup): Moved from utils.c.
+ (make_cleanup_close): Likewise.
+
+2015-06-03 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * windows-nat.c (thread_rec): Also ignore ERROR_INVALID_HANDLE
+ from SuspendThread().
+
+2015-06-03 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * windows-nat.c (handle_output_debug_string): Trim trailing '\n'
+ from OutputDebugString.
+
+2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
+ Mircea Gherzan <mircea.gherzan@intel.com>
+
+ * i386-tdep.c (MPX_BASE_MASK, MPX_BD_MASK, MPX_BT_MASK, MPX_BD_MASK_32,
+ MPX_BT_MASK_32): New macros.
+ (i386_mpx_set_bounds): New function that implements
+ the command "set-mpx-bound".
+ (i386_mpx_enabled): Helper function to test MPX availability.
+ (i386_mpx_bd_base): Helper function to calculate the base directory
+ address.
+ (i386_mpx_get_bt_entry): Helper function to access a bound
+ table entry.
+ (i386_mpx_print_bounds): Effectively display bound information.
+ (_initialize_i386_tdep): Add new commands to commands "set mpx" and
+ "show mpx".
+ (_initialize_i386_tdep):
+ Add "bound" to the commands "show mpx" and "set mpx" commands.
+ (mpx_set_cmdlist and mpx_show_cmdlist): List for the new prefixed "set mpx"
+ and "show mpx" commands.
+ * NEWS: List new commands for MPX support.
+
+2015-06-09 Gary Benson <gbenson@redhat.com>
+
+ * common/fileio.h (fileio_to_host_mode): New declaration.
+ * common/fileio.c (fileio_to_host_mode): New Function.
+ * inf-child.c (inf_child_fileio_open): Process mode argument
+ with fileio_to_host_mode.
+
+2015-06-09 Gary Benson <gbenson@redhat.com>
+
+ * common/fileio.c (fileio_mode_pack): Fix preprocessor
+ conditional.
+
+2015-06-05 Gary Benson <gbenson@redhat.com>
+
+ * gdb_bfd.c (gdb_bfd_open): Move vgdb special case to...
+ * remote.c (remote_filesystem_is_local): ...here.
+
+2015-06-04 Yao Qi <yao.qi@linaro.org>
+
+ * gdbarch.c: Regenerate it.
+
+2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * arch-utils.c (default_infcall_munmap): New.
+ * arch-utils.h (default_infcall_munmap): New declaration.
+ * compile/compile-object-load.c (struct munmap_list, munmap_list_add)
+ (munmap_list_free, munmap_listp_free_cleanup): New.
+ (struct setup_sections_data): Add field munmap_list_headp.
+ (setup_sections): Call munmap_list_add.
+ (compile_object_load): New variable munmap_list_head, initialize
+ setup_sections_data.munmap_list_headp, return munmap_list_head.
+ * compile/compile-object-load.h (struct munmap_list): New declaration.
+ (struct compile_module): Add field munmap_list_head.
+ (munmap_list_free): New declaration.
+ * compile/compile-object-run.c (struct do_module_cleanup): Add field
+ munmap_list_head.
+ (do_module_cleanup): Call munmap_list_free.
+ (compile_object_run): Pass munmap_list_head to do_module_cleanup.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Regenerate.
+ * gdbarch.sh (infcall_munmap): New.
+ * linux-tdep.c (linux_infcall_munmap): New.
+ (linux_init_abi): Install it.
+
+2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
+
+ PR gdb/15564
+ * inferior.c (detach_inferior): Call exit_inferior_1 with silent = 0.
+
+2015-06-02 Yao Qi <yao.qi@linaro.org>
+
+ * i386-linux-nat.c: Include linux-nat.h.
+
+2015-06-01 Andreas Schwab <schwab@linux-m68k.org>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR symtab/18392
+ * dwarf2-frame-tailcall.c (pretended_chain_levels): Correct
+ assertion.
+ * dwarf2loc.c (chain_candidate): Likewise.
+
+2015-06-01 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-nat.c (fetch_vfp_regs): Use PTRACE_GETREGSET.
+ (store_vfp_regs): Use PTRACE_SETREGSET.
+
+2015-06-01 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-nat.c (fetch_fpregister): Use PTRACE_GETREGSET.
+ (fetch_fpregs): Likewise.
+ * arm-linux-nat.c (store_fpregister): Use PTRACE_SETREGSET.
+ (store_fpregs): Likewise.
+
+2015-06-01 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-nat.c (fetch_register): Use PTRACE_GETREGSET.
+ (fetch_regs): Likewise.
+ (store_regs): Use PTRACE_SETREGSET.
+ (store_register): Likewise.
+
2015-06-01 Yao Qi <yao.qi@linaro.org>
* arm-linux-nat.c (arm_linux_read_description): Check whether