aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-19Add target_ops argument to to_traceframe_infoTom Tromey6-6/+15
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_traceframe_info): Add 'self' argument. * target.h (struct target_ops) <to_traceframe_info>: Add argument. (target_traceframe_info): Add argument. * target.c (update_current_target): Update. * remote.c (remote_traceframe_info): Add 'self' argument. * ctf.c (ctf_traceframe_info): Add 'self' argument.
2014-02-19Add target_ops argument to to_static_tracepoint_markers_by_stridTom Tromey5-5/+21
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (target_static_tracepoint_markers_by_strid): Add argument. (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add 'self' argument. * target.c (update_current_target): Update. * remote.c (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add 'self' argument. * linux-nat.c (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2014-02-19Add target_ops argument to to_static_tracepoint_marker_atTom Tromey4-4/+15
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_static_tracepoint_marker_at>: Add argument. (target_static_tracepoint_marker_at): Add argument. * target.c (update_current_target): Update. * remote.c (remote_static_tracepoint_marker_at): Add 'self' argument.
2014-02-19Add target_ops argument to to_set_permissionsTom Tromey4-6/+14
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_set_permissions>: Add argument. (target_set_permissions): Add argument. * target.c (update_current_target): Update. * remote.c (remote_set_permissions): Add 'self' argument. (remote_start_remote): Update.
2014-02-19Add target_ops argument to to_get_tib_addressTom Tromey5-5/+15
2014-02-19 Tom Tromey <tromey@redhat.com> * windows-nat.c (windows_get_tib_address): Add 'self' argument. * target.h (struct target_ops) <to_get_tib_address>: Add argument. (target_get_tib_address): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_tib_address): Add 'self' argument.
2014-02-19Add target_ops argument to to_set_trace_notesTom Tromey4-4/+15
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_set_trace_notes>: Add argument. (target_set_trace_notes): Add argument. * target.c (update_current_target): Update. * remote.c (remote_set_trace_notes): Add 'self' argument.
2014-02-19Add target_ops argument to to_set_trace_buffer_sizeTom Tromey4-4/+12
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_set_trace_buffer_size>: Add argument. (target_set_trace_buffer_size): Add argument. * target.c (update_current_target): Update. * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2014-02-19Add target_ops argument to to_set_circular_trace_bufferTom Tromey4-4/+13
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add argument. (target_set_circular_trace_buffer): Add argument. * target.c (update_current_target): Update. * remote.c (remote_set_circular_trace_buffer): Add 'self' argument.
2014-02-19Add target_ops argument to to_set_disconnected_tracingTom Tromey4-4/+12
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_set_disconnected_tracing>: Add argument. (target_set_disconnected_tracing): Add argument. * target.c (update_current_target): Update. * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_min_fast_tracepoint_insn_lenTom Tromey4-4/+13
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_get_min_fast_tracepoint_insn_len>: Add argument. (target_get_min_fast_tracepoint_insn_len): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_raw_trace_dataTom Tromey4-4/+14
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_get_raw_trace_data>: Add argument. (target_get_raw_trace_data): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2014-02-19Add target_ops argument to to_upload_trace_state_variablesTom Tromey4-6/+19
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_upload_trace_state_variables>: Add argument. (target_upload_trace_state_variables): Add argument. * target.c (update_current_target): Update. * remote.c (remote_upload_trace_state_variables): Add 'self' argument. (remote_start_remote): Update.
2014-02-19Add target_ops argument to to_upload_tracepointsTom Tromey4-6/+17
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_upload_tracepoints>: Add argument. (target_upload_tracepoints): Add argument. * target.c (update_current_target): Update. * remote.c (remote_upload_tracepoints): Add 'self' argument. (remote_start_remote): Update.
2014-02-19Add target_ops argument to to_save_trace_dataTom Tromey4-4/+11
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_save_trace_data>: Add argument. (target_save_trace_data): Add argument. * target.c (update_current_target): Update. * remote.c (remote_save_trace_data): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_trace_state_variable_valueTom Tromey6-6/+23
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' argument. * target.h (struct target_ops) <to_get_trace_state_variable_value>: Add argument. (target_get_trace_state_variable_value): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_trace_state_variable_value): Add 'self' argument. * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2014-02-19Add target_ops argument to to_trace_findTom Tromey6-6/+19
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_trace_find): Add 'self' argument. * target.h (struct target_ops) <to_trace_find>: Add argument. (target_trace_find): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_find): Add 'self' argument. * ctf.c (ctf_trace_find): Add 'self' argument.
2014-02-19Add target_ops argument to to_trace_stopTom Tromey4-4/+11
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_trace_stop>: Add argument. (target_trace_stop): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_stop): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_tracepoint_statusTom Tromey5-5/+17
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. * target.h (struct target_ops) <to_get_tracepoint_status>: Add argument. (target_get_tracepoint_status): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_trace_statusTom Tromey6-10/+22
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_get_trace_status): Add 'self' argument. * target.h (struct target_ops) <to_get_trace_status>: Add argument. (target_get_trace_status): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_trace_status): Add 'self' argument. (remote_start_remote, remote_can_download_tracepoint): Update. * ctf.c (ctf_get_trace_status): Add 'self' argument.
2014-02-19Add target_ops argument to to_trace_startTom Tromey4-4/+11
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_trace_start>: Add argument. (target_trace_start): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_start): Add 'self' argument.
2014-02-19Add target_ops argument to to_trace_set_readonly_regionsTom Tromey4-4/+13
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_trace_set_readonly_regions>: Add argument. (target_trace_set_readonly_regions): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_set_readonly_regions): Add 'self' argument.
2014-02-19Add target_ops argument to to_disable_tracepointTom Tromey4-4/+14
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_disable_tracepoint>: Add argument. (target_disable_tracepoint): Add argument. * target.c (update_current_target): Update. * remote.c (remote_disable_tracepoint): Add 'self' argument.
2014-02-19Add target_ops argument to to_enable_tracepointTom Tromey4-4/+14
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_enable_tracepoint>: Add argument. (target_enable_tracepoint): Add argument. * target.c (update_current_target): Update. * remote.c (remote_enable_tracepoint): Add 'self' argument.
2014-02-19Add target_ops argument to to_download_trace_state_variableTom Tromey4-4/+15
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_download_trace_state_variable>: Add argument. (target_download_trace_state_variable): Add argument. * target.c (update_current_target): Update. * remote.c (remote_download_trace_state_variable): Add 'self' argument.
2014-02-19Add target_ops argument to to_can_download_tracepointTom Tromey4-4/+12
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_can_download_tracepoint>: Add argument. (target_can_download_tracepoint): Add argument. * target.c (update_current_target): Update. * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2014-02-19Add target_ops argument to to_download_tracepointTom Tromey4-4/+13
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_download_tracepoint>: Add argument. (target_download_tracepoint): Add argument. * target.c (update_current_target): Update. * remote.c (remote_download_tracepoint): Add 'self' argument.
2014-02-19Add target_ops argument to to_trace_initTom Tromey4-4/+11
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_trace_init>: Add argument. (target_trace_init): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_init): Add 'self' argument.
2014-02-19Add target_ops argument to to_fileio_readlinkTom Tromey5-4/+14
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_readlink>: Add argument. * target.c (target_fileio_readlink): Add argument. * remote.c (remote_hostio_readlink): Add 'self' argument. * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2014-02-19Add target_ops argument to to_fileio_unlinkTom Tromey5-5/+17
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_unlink>: Add argument. * target.c (target_fileio_unlink): Add argument. * remote.c (remote_hostio_unlink): Add 'self' argument. (remote_file_delete): Update. * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2014-02-19Add target_ops argument to to_fileio_closeTom Tromey5-8/+18
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_close>: Add argument. * target.c (target_fileio_close): Add argument. * remote.c (remote_hostio_close): Add 'self' argument. (remote_hostio_close_cleanup): Update. (remote_bfd_iovec_close, remote_file_put, remote_file_get): Update. * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2014-02-19Add target_ops argument to to_fileio_preadTom Tromey5-6/+19
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_pread>: Add argument. * target.c (target_fileio_pread): Add argument. * remote.c (remote_hostio_pread): Add 'self' argument. (remote_bfd_iovec_pread, remote_file_get): Update. * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2014-02-19Add target_ops argument to to_fileio_pwriteTom Tromey5-5/+17
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. * target.c (target_fileio_pwrite): Add argument. * remote.c (remote_hostio_pwrite): Add 'self' argument. (remote_file_put): Update. * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2014-02-19Add target_ops argument to to_fileio_openTom Tromey5-7/+23
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_open>: Add argument. * target.c (target_fileio_open): Add argument. * remote.c (remote_hostio_open): Add 'self' argument. (remote_bfd_iovec_open): Add 'self' argument. (remote_file_put): Add 'self' argument. (remote_file_get): Add 'self' argument. * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2014-02-19Add target_ops argument to to_can_run_breakpoint_commandsTom Tromey4-7/+19
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_can_run_breakpoint_commands>: Add argument. (target_can_run_breakpoint_commands): Add argument. * target.c (update_current_target): Update. * remote.c (remote_can_run_breakpoint_commands): Add 'self' argument. (remote_insert_breakpoint): Add 'self' argument. (remote_insert_hw_breakpoint): Add 'self' argument. (remote_can_run_breakpoint_commands): Add 'self' argument.
2014-02-19Add target_ops argument to to_supports_evaluation_of_breakpoint_conditionsTom Tromey4-7/+20
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_supports_evaluation_of_breakpoint_conditions>: Add argument. (target_supports_evaluation_of_breakpoint_conditions): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_cond_breakpoints): Add 'self' argument. (remote_insert_breakpoint): Add 'self' argument. (remote_insert_hw_breakpoint): Add 'self' argument. (remote_supports_cond_breakpoints): Add 'self' argument.
2014-02-19Add target_ops argument to to_supports_string_tracingTom Tromey4-4/+12
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_supports_string_tracing>: Add argument. (target_supports_string_tracing): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_string_tracing): Add 'self' argument.
2014-02-19Add target_ops argument to to_supports_disable_randomizationTom Tromey5-8/+24
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_supports_disable_randomization>: Add argument. * target.c (find_default_supports_disable_randomization): Add argument. (target_supports_disable_randomization): Add argument. (find_default_supports_disable_randomization): Add 'self' argument. * remote.c (extended_remote_supports_disable_randomization): Add 'self' argument. (remote_supports_disable_randomization): Add 'self' argument. (extended_remote_create_inferior): Update. * linux-nat.c (linux_nat_supports_disable_randomization): Add 'self' argument.
2014-02-19Add target_ops argument to to_supports_enable_disable_tracepointTom Tromey4-4/+13
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_supports_enable_disable_tracepoint>: Add argument. (target_supports_enable_disable_tracepoint): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' argument.
2014-02-19Add target_ops argument to to_supports_multi_processTom Tromey6-6/+18
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_supports_multi_process>: Add argument. (target_supports_multi_process): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_multi_process): Add 'self' argument. * linux-nat.c (linux_nat_supports_multi_process): Add 'self' argument. * darwin-nat.c (darwin_supports_multi_process): Add 'self' argument.
2014-02-19Add target_ops argument to to_execution_directionTom Tromey4-4/+13
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_execution_direction>: Add argument. (target_execution_direction): Add argument. * target.c (default_execution_direction): Add 'self' argument. * record-full.c (record_full_execution_direction): Add 'self' argument.
2014-02-19Add target_ops argument to to_can_execute_reverseTom Tromey5-5/+16
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_can_execute_reverse>: Add argument. (target_can_execute_reverse): Add argument. * remote.c (remote_can_execute_reverse): Add 'self' argument. * record-full.c (record_full_can_execute_reverse): Add 'self' argument. * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_ada_task_ptidTom Tromey12-14/+38
2014-02-19 Tom Tromey <tromey@redhat.com> * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. * target.h (struct target_ops) <to_get_ada_task_ptid>: Add argument. (target_get_ada_task_ptid): Add argument. * target.c (update_current_target): Update. (default_get_ada_task_ptid): Add 'self' argument. * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. * remote.c (remote_get_ada_task_ptid): Add 'self' argument. * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' argument. * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' argument. * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' argument. * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' argument. * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' argument.
2014-02-19Add target_ops argument to to_goto_bookmarkTom Tromey4-4/+12
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_goto_bookmark>: Add argument. (target_goto_bookmark): Add argument. * target.c (dummy_goto_bookmark): Add 'self' argument. * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2014-02-19Add target_ops argument to to_get_bookmarkTom Tromey4-4/+11
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-19Add target_ops argument to to_make_corefile_notesTom Tromey8-11/+31
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-19Add target_ops argument to to_find_memory_regionsTom Tromey8-9/+43
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-19Add target_ops argument to to_supports_non_stopTom Tromey5-6/+16
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-19Add target_ops argument to to_log_commandTom Tromey4-4/+12
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-19Add target_ops argument to to_pid_to_exec_fileTom Tromey11-15/+32
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-19Add target_ops argument to to_rcmdTom Tromey5-9/+20
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.