+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
+ argument.
+ (target_insert_vfork_catchpoint): Add argument.
+ * target.c (debug_to_insert_vfork_catchpoint): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
+ argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
+ argument.
+ (target_remove_fork_catchpoint): Add argument.
+ * target.c (debug_to_remove_fork_catchpoint): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
+ argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
+ argument.
+ (target_insert_fork_catchpoint): Add argument.
+ * target.c (debug_to_insert_fork_catchpoint): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
+ argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_post_startup_inferior>: Add
+ argument.
+ (target_post_startup_inferior): Add argument.
+ * target.c (debug_to_post_startup_inferior): Add argument.
+ (update_current_target): Update.
+ * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
+ argument.
+ * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
+ argument.
+ * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
+ argument.
+ * inf-child.c (inf_child_post_startup_inferior): Add 'self'
+ argument.
+ * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
+ 'self' argument.
+ (super_post_startup_inferior): Likewise.
+ * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
+ 'self' argument.
+ (super_post_startup_inferior): Likewise.
+ * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
+ Add 'self' argument.
+ (super_post_startup_inferior): Likewise.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_load>: Add argument.
+ * target.c (target_load): Add argument.
+ (debug_to_load): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_load): Add 'self' argument.
+ * remote-sim.c (gdbsim_load): Add 'self' argument.
+ * remote-mips.c (mips_load): Add 'self' argument.
+ * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
+ * monitor.c (monitor_load): Add 'self' argument.
+ * m32r-rom.c (m32r_load_gen): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_terminal_info>: Add argument.
+ (target_terminal_info): Add argument.
+ * target.c (debug_to_terminal_info): Add argument.
+ (default_terminal_info): Likewise.
+ * inflow.c (child_terminal_info): Add 'self' argument.
+ * inferior.h (child_terminal_info): Add 'self' argument.
+ * go32-nat.c (go32_terminal_info): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_terminal_save_ours>: Add
+ argument.
+ (target_terminal_save_ours): Add argument.
+ * target.c (debug_to_terminal_save_ours): Add argument.
+ (update_current_target): Update.
+ * inflow.c (terminal_save_ours): Add 'self' argument.
+ * inferior.h (terminal_save_ours): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_terminal_ours>: Add argument.
+ (target_terminal_ours): Add argument.
+ * target.c (debug_to_terminal_ours): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_terminal_ours): Add 'self' argument.
+ (remote_close): Update.
+ * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
+ * inflow.c (terminal_ours): Add 'self' argument.
+ * inferior.h (terminal_ours): Add 'self' argument.
+ * go32-nat.c (go32_terminal_ours): Add 'self' argument.
+
+2014-02-19 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
+ argument.
+ (target_terminal_ours_for_output): Add argument.
+ * target.c (debug_to_terminal_ours_for_output): Add argument.
+ (update_current_target): Update.
+ * inflow.c (terminal_ours_for_output): Add 'self' argument.
+ * inferior.h (terminal_ours_for_output): Add 'self' argument.
+ * go32-nat.c (go32_terminal_ours): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_terminal_inferior>: Add
+ argument.
+ * target.c (target_terminal_inferior): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_terminal_inferior): Add 'self' argument.
+ * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
+ * inflow.c (terminal_inferior): Add 'self' argument.
+ * inferior.h (terminal_inferior): Add 'self' argument.
+ * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
+ (go32_terminal_inferior): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_terminal_init>: Add argument.
+ (target_terminal_init): Add argument.
+ * target.c (debug_to_terminal_init): Add argument.
+ (update_current_target): Update.
+ * inflow.c (terminal_init_inferior): Add 'self' argument.
+ * inferior.h (terminal_init_inferior): Add 'self' argument.
+ * go32-nat.c (go32_terminal_init): Add 'self' argument.
+ * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops)
+ <to_can_accel_watchpoint_condition>: Add argument.
+ (target_can_accel_watchpoint_condition): Add argument.
+ * target.c (debug_to_can_accel_watchpoint_condition): Add
+ argument.
+ (update_current_target): Update.
+ * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
+ 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
+ Add argument.
+ (target_region_ok_for_hw_watchpoint): Add argument.
+ * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
+ (default_region_ok_for_hw_watchpoint): Add argument.
+ * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
+ * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
+ argument.
+ * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
+ argument.
+ * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
+ argument.
+ * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
+ 'self' argument.
+ * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
+ 'self' argument.
+ * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
+ 'self' argument.
+ * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
+ * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
+ 'self' argument.
+ * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
+ Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_insert_watchpoint>: Add
+ argument.
+ (target_insert_watchpoint): Add argument.
+ * target.c (debug_to_insert_watchpoint): Add argument.
+ (update_current_target): Update.
+ * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
+ * remote.c (remote_insert_watchpoint): Add 'self' argument.
+ * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
+ * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
+ * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
+ * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
+ argument.
+ * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
+ (procfs_insert_hw_watchpoint): Add 'self' argument.
+ * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
+ argument.
+ * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
+ argument.
+ * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
+ argument.
+ * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
+ * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
+ argument.
+ * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
+ 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_remove_watchpoint>: Add
+ argument.
+ (target_remove_watchpoint): Add argument.
+ * target.c (debug_to_remove_watchpoint): Add argument.
+ (update_current_target): Update.
+ * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
+ * remote.c (remote_remove_watchpoint): Add 'self' argument.
+ * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
+ * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
+ * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
+ * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
+ argument.
+ * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
+ * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
+ argument.
+ * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
+ argument.
+ * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
+ argument.
+ * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
+ * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
+ argument.
+ * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
+ 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
+ argument.
+ (target_remove_hw_breakpoint): Add argument.
+ * target.c (debug_to_remove_hw_breakpoint): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
+ * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
+ argument.
+ * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
+ * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
+ argument.
+ * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
+ 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
+ argument.
+ (target_insert_hw_breakpoint): Add argument.
+ * target.c (debug_to_insert_hw_breakpoint): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
+ * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
+ argument.
+ * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
+ * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
+ * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
+ argument.
+ * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
+ 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
+ argument.
+ (target_can_use_hardware_watchpoint): Add argument.
+ * target.c (debug_to_can_use_hw_breakpoint): Add argument.
+ (update_current_target): Update.
+ * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * remote.c (remote_check_watch_resources): Add 'self' argument.
+ * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
+ * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
+ argument.
+ * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
+ * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
+ * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
+ argument.
+ * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
+ 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_post_attach>: Add argument.
+ (target_post_attach): Add argument.
+ * target.c (debug_to_post_attach): Add argument.
+ (update_current_target): Update.
+ * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
+ * nto-procfs.c (procfs_post_attach): Add 'self' argument.
+ * linux-nat.c (linux_child_post_attach): Add 'self' argument.
+ * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
+ * inf-child.c (inf_child_post_attach): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * windows-nat.c (windows_close): Add 'self' argument.
+ * tracepoint.c (tfile_close): Add 'self' argument.
+ * target.h (struct target_ops) <to_close>: Add argument.
+ * target.c (target_close): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_close): Add 'self' argument.
+ * remote-sim.c (gdbsim_close): Add 'self' argument.
+ * remote-mips.c (mips_close): Add 'self' argument.
+ * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
+ * record-full.c (record_full_close): Add 'self' argument.
+ * record-btrace.c (record_btrace_close): Add 'self' argument.
+ * monitor.h (monitor_close): Add 'self' argument.
+ * monitor.c (monitor_close): Add 'self' argument.
+ * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
+ * linux-nat.c (linux_nat_close): Add argument.
+ * go32-nat.c (go32_close): Add 'self' argument.
+ * exec.c (exec_close_1): Add 'self' argument.
+ * ctf.c (ctf_close): Add 'self' argument.
+ * corelow.c (core_close): Add 'self' argument.
+ (core_close_cleanup): Update.
+ * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
+ * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * remote.c (remote_load): New function.
+ (init_remote_ops): Use it.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * common/linux-btrace.c (linux_supports_btrace): Add "ops"
+ argument.
+ * common/linux-btrace.h (linux_supports_btrace): Update.
+ * remote.c (remote_supports_btrace): Add "self" argument.
+ * target-delegates.c: Rebuild.
+ * target.c (target_supports_btrace): Remove.
+ * target.h (struct target_ops) <to_supports_btrace>: Add
+ target_ops argument.
+ (target_supports_btrace): New define.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * record-full.c (record_full_beneath_to_resume_ops)
+ (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
+ (record_full_beneath_to_wait)
+ (record_full_beneath_to_store_registers_ops)
+ (record_full_beneath_to_store_registers)
+ (record_full_beneath_to_xfer_partial_ops)
+ (record_full_beneath_to_xfer_partial)
+ (record_full_beneath_to_insert_breakpoint_ops)
+ (record_full_beneath_to_insert_breakpoint)
+ (record_full_beneath_to_remove_breakpoint_ops)
+ (record_full_beneath_to_remove_breakpoint)
+ (record_full_beneath_to_stopped_by_watchpoint)
+ (record_full_beneath_to_stopped_data_address)
+ (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
+ (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
+ (tmp_to_store_registers, tmp_to_xfer_partial_ops)
+ (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
+ (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
+ (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
+ (tmp_to_stopped_data_address, tmp_to_async): Remove.
+ (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
+ (record_full_resume, record_full_wait_1)
+ (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
+ (record_full_store_registers, record_full_xfer_partial)
+ (record_full_insert_breakpoint, record_full_remove_breakpoint)
+ (record_full_async, record_full_core_xfer_partial): Use target
+ delegation.
+ * target-delegates.c: Rebuild.
+ * target.c (current_xfer_partial): Remove.
+ (update_current_target): Do not INHERIT or de_fault
+ to_insert_breakpoint, to_remove_breakpoint,
+ to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
+ to_is_async_p, to_async. Do not set to_xfer_partial field.
+ (default_xfer_partial): Simplify.
+ (current_xfer_partial): Remove.
+ (target_wait, target_resume): Simplify.
+ (find_default_can_async_p, find_default_is_async_p): Update.
+ (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
+ to_xfer_partial, to_stopped_by_watchpoint,
+ to_stopped_data_address.
+ (target_store_registers): Simplify.
+ (forward_target_remove_breakpoint)
+ (forward_target_insert_breakpoint): Remove.
+ (target_remove_breakpoint, target_insert_breakpoint)
+ (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
+ * target.h (struct target_ops) <to_resume, to_wait,
+ to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
+ to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
+ to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
+ markup.
+ (forward_target_remove_breakpoint)
+ (forward_target_insert_breakpoint): Remove.
+ * record-btrace.c (record_btrace_remove_breakpoint): Delegate
+ directly.
+ (record_btrace_insert_breakpoint): Delegate directly.
+
2014-02-19 Tom Tromey <tromey@redhat.com>
PR build/7701: