+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_get_bookmark>: Add argument.
+ (target_get_bookmark): Add argument.
+ * target.c (dummy_get_bookmark): Add 'self' argument.
+ * record-full.c (record_full_get_bookmark): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_make_corefile_notes>: Add
+ argument.
+ (target_make_corefile_notes): Add argument.
+ * target.c (dummy_make_corefile_notes): Add 'self' argument.
+ * procfs.c (procfs_make_note_section): Add 'self' argument.
+ (procfs_make_note_section): Add 'self' argument.
+ (procfs_make_note_section): Add 'self' argument.
+ * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
+ argument.
+ * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
+ * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
+ * exec.c (exec_make_note_section): Add 'self' argument.
+ (exec_make_note_section): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_find_memory_regions>: Add
+ argument.
+ (target_find_memory_regions): Add argument.
+ * target.c (dummy_find_memory_regions): Add 'self' argument.
+ * procfs.c (proc_find_memory_regions): Add 'self' argument.
+ * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
+ * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
+ * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
+ * exec. (exec_do_find_memory_regions): New global.
+ (exec_set_find_memory_regions): Rewrite.
+ (exec_find_memory_regions): New function.
+ (init_exec_ops): Use exec_find_memory_regions.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_supports_non_stop>: Add
+ argument.
+ * target.c (find_default_supports_non_stop): Add argument.
+ (target_supports_non_stop): Add argument.
+ (find_default_supports_non_stop): Add 'self' argument.
+ * remote.c (remote_supports_non_stop): Add 'self' argument.
+ * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_log_command>: Add argument.
+ (target_log_command): Add argument.
+ * serial.h (serial_log_command): Add 'self' argument.
+ * serial.c (serial_log_command): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
+ * target.h (struct target_ops) <to_pid_to_exec_file>: Add
+ argument.
+ (target_pid_to_exec_file): Add argument.
+ * target.c (debug_to_pid_to_exec_file): Add argument.
+ (update_current_target): Update.
+ * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
+ * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
+ * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
+ (linux_handle_extended_wait): Update.
+ * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
+ * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
+ * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
+ * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_rcmd>: Add argument.
+ (target_rcmd): Add argument.
+ * target.c (debug_to_rcmd): Add argument.
+ (update_current_target, do_monitor_command): Update.
+ * remote.c (remote_rcmd): Add 'self' argument.
+ * monitor.c (monitor_rcmd): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * windows-nat.c (windows_stop): Add 'self' argument.
+ * target.h (struct target_ops) <to_stop>: Add argument.
+ * target.c (target_stop): Add argument.
+ (debug_to_stop): Add argument.
+ (update_current_target): Update.
+ * remote.c (remote_stop): Add 'self' argument.
+ * remote-sim.c (gdbsim_stop): Add 'self' argument.
+ (gdbsim_cntrl_c): Update.
+ * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
+ * procfs.c (procfs_stop): Add 'self' argument.
+ * nto-procfs.c (procfs_stop): Add 'self' argument.
+ * monitor.c (monitor_stop): Add 'self' argument.
+ (monitor_open): Update.
+ * linux-nat.c (linux_nat_stop): Add argument.
+ * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
+ * gnu-nat.c (gnu_stop): Add 'self' argument.
+ * darwin-nat.c (darwin_stop): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_thread_name>: Add argument.
+ * target.c (target_thread_name): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_extra_thread_info>: Add
+ argument.
+ (target_extra_thread_info): Add argument.
+ * target.c (update_current_target): Update.
+ * remote.c (remote_threads_extra_info): Add 'self' argument.
+ * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
+ argument.
+ * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
+ * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
+ * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
+ argument.
+ * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
+ argument.
+ * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
+ argument.
+ * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
+ argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_program_signals>: Add argument.
+ * target.c (target_program_signals): Add argument.
+ * remote.c (remote_program_signals): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_pass_signals>: Add argument.
+ * target.c (target_pass_signals): Add argument.
+ * remote.c (remote_pass_signals): Add 'self' argument.
+ (remote_start_remote): Update.
+ * procfs.c (procfs_pass_signals): Add 'self' argument.
+ * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
+ * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
+ (linux_nat_create_inferior, linux_nat_attach): Update.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * windows-nat.c (windows_can_run): Add 'self' argument.
+ * target.h (struct target_ops) <to_can_run>: Add argument.
+ (target_can_run): Add argument.
+ * target.c (debug_to_can_run): Add argument.
+ (update_current_target): Update.
+ * nto-procfs.c (procfs_can_run): Add 'self' argument.
+ * inf-child.c (inf_child_can_run): Add 'self' argument.
+ * go32-nat.c (go32_can_run): Add 'self' argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_has_exited>: Add argument.
+ (target_has_exited): Add argument.
+ * target.c (debug_to_has_exited): Add argument.
+ (update_current_target): Update.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
+ argument.
+ (target_set_syscall_catchpoint): Add argument.
+ * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
+ argument.
+ * target.c (update_current_target): Update.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
+ argument.
+ (target_remove_exec_catchpoint): Add argument.
+ * target.c (debug_to_remove_exec_catchpoint): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
+ argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
+ argument.
+ (target_insert_exec_catchpoint): Add argument.
+ * target.c (debug_to_insert_exec_catchpoint): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
+ argument.
+
+2014-02-19 Tom Tromey <tromey@redhat.com>
+
+ * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
+ argument.
+ (target_remove_vfork_catchpoint): Add argument.
+ * target.c (debug_to_remove_vfork_catchpoint): Add argument.
+ (update_current_target): Update.
+ * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
+ argument.
+
+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