Lines Matching refs:t

324   struct target_ops *t;  in target_has_all_memory_1()  local
326 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_has_all_memory_1()
327 if (t->to_has_all_memory (t)) in target_has_all_memory_1()
336 struct target_ops *t; in target_has_memory_1() local
338 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_has_memory_1()
339 if (t->to_has_memory (t)) in target_has_memory_1()
348 struct target_ops *t; in target_has_stack_1() local
350 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_has_stack_1()
351 if (t->to_has_stack (t)) in target_has_stack_1()
360 struct target_ops *t; in target_has_registers_1() local
362 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_has_registers_1()
363 if (t->to_has_registers (t)) in target_has_registers_1()
372 struct target_ops *t; in target_has_execution_1() local
374 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_has_execution_1()
375 if (t->to_has_execution (t, the_ptid)) in target_has_execution_1()
390 add_target (struct target_ops *t) in add_target() argument
393 if (t->to_xfer_partial == NULL) in add_target()
394 t->to_xfer_partial = default_xfer_partial; in add_target()
396 if (t->to_has_all_memory == NULL) in add_target()
397 t->to_has_all_memory = (int (*) (struct target_ops *)) return_zero; in add_target()
399 if (t->to_has_memory == NULL) in add_target()
400 t->to_has_memory = (int (*) (struct target_ops *)) return_zero; in add_target()
402 if (t->to_has_stack == NULL) in add_target()
403 t->to_has_stack = (int (*) (struct target_ops *)) return_zero; in add_target()
405 if (t->to_has_registers == NULL) in add_target()
406 t->to_has_registers = (int (*) (struct target_ops *)) return_zero; in add_target()
408 if (t->to_has_execution == NULL) in add_target()
409 t->to_has_execution = (int (*) (struct target_ops *, ptid_t)) return_zero; in add_target()
424 target_structs[target_struct_size++] = t; in add_target()
434 add_cmd (t->to_shortname, no_class, t->to_open, t->to_doc, &targetlist); in add_target()
440 add_deprecated_target_alias (struct target_ops *t, char *alias) in add_deprecated_target_alias() argument
447 c = add_cmd (alias, no_class, t->to_open, t->to_doc, &targetlist); in add_deprecated_target_alias()
448 alt = xstrprintf ("target %s", t->to_shortname); in add_deprecated_target_alias()
462 struct target_ops *t; in target_kill() local
464 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_kill()
465 if (t->to_kill != NULL) in target_kill()
470 t->to_kill (t); in target_kill()
488 struct target_ops *t; in target_create_inferior() local
490 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_create_inferior()
492 if (t->to_create_inferior != NULL) in target_create_inferior()
494 t->to_create_inferior (t, exec_file, args, env, from_tty); in target_create_inferior()
524 struct target_ops *t) in nomemory() argument
588 struct target_ops *t; in update_current_target() local
597 for (t = target_stack; t; t = t->beneath) in update_current_target()
599 INHERIT (to_shortname, t); in update_current_target()
600 INHERIT (to_longname, t); in update_current_target()
601 INHERIT (to_doc, t); in update_current_target()
605 INHERIT (to_post_attach, t); in update_current_target()
606 INHERIT (to_attach_no_wait, t); in update_current_target()
613 INHERIT (to_prepare_to_store, t); in update_current_target()
614 INHERIT (deprecated_xfer_memory, t); in update_current_target()
615 INHERIT (to_files_info, t); in update_current_target()
616 INHERIT (to_insert_breakpoint, t); in update_current_target()
617 INHERIT (to_remove_breakpoint, t); in update_current_target()
618 INHERIT (to_can_use_hw_breakpoint, t); in update_current_target()
619 INHERIT (to_insert_hw_breakpoint, t); in update_current_target()
620 INHERIT (to_remove_hw_breakpoint, t); in update_current_target()
622 INHERIT (to_insert_watchpoint, t); in update_current_target()
623 INHERIT (to_remove_watchpoint, t); in update_current_target()
626 INHERIT (to_stopped_data_address, t); in update_current_target()
627 INHERIT (to_have_steppable_watchpoint, t); in update_current_target()
628 INHERIT (to_have_continuable_watchpoint, t); in update_current_target()
629 INHERIT (to_stopped_by_watchpoint, t); in update_current_target()
630 INHERIT (to_watchpoint_addr_within_range, t); in update_current_target()
631 INHERIT (to_region_ok_for_hw_watchpoint, t); in update_current_target()
632 INHERIT (to_can_accel_watchpoint_condition, t); in update_current_target()
634 INHERIT (to_terminal_init, t); in update_current_target()
635 INHERIT (to_terminal_inferior, t); in update_current_target()
636 INHERIT (to_terminal_ours_for_output, t); in update_current_target()
637 INHERIT (to_terminal_ours, t); in update_current_target()
638 INHERIT (to_terminal_save_ours, t); in update_current_target()
639 INHERIT (to_terminal_info, t); in update_current_target()
641 INHERIT (to_load, t); in update_current_target()
643 INHERIT (to_post_startup_inferior, t); in update_current_target()
644 INHERIT (to_insert_fork_catchpoint, t); in update_current_target()
645 INHERIT (to_remove_fork_catchpoint, t); in update_current_target()
646 INHERIT (to_insert_vfork_catchpoint, t); in update_current_target()
647 INHERIT (to_remove_vfork_catchpoint, t); in update_current_target()
649 INHERIT (to_insert_exec_catchpoint, t); in update_current_target()
650 INHERIT (to_remove_exec_catchpoint, t); in update_current_target()
651 INHERIT (to_set_syscall_catchpoint, t); in update_current_target()
652 INHERIT (to_has_exited, t); in update_current_target()
654 INHERIT (to_can_run, t); in update_current_target()
660 INHERIT (to_extra_thread_info, t); in update_current_target()
661 INHERIT (to_thread_name, t); in update_current_target()
662 INHERIT (to_stop, t); in update_current_target()
664 INHERIT (to_rcmd, t); in update_current_target()
665 INHERIT (to_pid_to_exec_file, t); in update_current_target()
666 INHERIT (to_log_command, t); in update_current_target()
667 INHERIT (to_stratum, t); in update_current_target()
673 INHERIT (to_has_thread_control, t); in update_current_target()
674 INHERIT (to_can_async_p, t); in update_current_target()
675 INHERIT (to_is_async_p, t); in update_current_target()
676 INHERIT (to_async, t); in update_current_target()
677 INHERIT (to_find_memory_regions, t); in update_current_target()
678 INHERIT (to_make_corefile_notes, t); in update_current_target()
679 INHERIT (to_get_bookmark, t); in update_current_target()
680 INHERIT (to_goto_bookmark, t); in update_current_target()
682 INHERIT (to_can_execute_reverse, t); in update_current_target()
683 INHERIT (to_execution_direction, t); in update_current_target()
684 INHERIT (to_thread_architecture, t); in update_current_target()
686 INHERIT (to_get_ada_task_ptid, t); in update_current_target()
688 INHERIT (to_supports_multi_process, t); in update_current_target()
689 INHERIT (to_supports_enable_disable_tracepoint, t); in update_current_target()
690 INHERIT (to_supports_string_tracing, t); in update_current_target()
691 INHERIT (to_trace_init, t); in update_current_target()
692 INHERIT (to_download_tracepoint, t); in update_current_target()
693 INHERIT (to_can_download_tracepoint, t); in update_current_target()
694 INHERIT (to_download_trace_state_variable, t); in update_current_target()
695 INHERIT (to_enable_tracepoint, t); in update_current_target()
696 INHERIT (to_disable_tracepoint, t); in update_current_target()
697 INHERIT (to_trace_set_readonly_regions, t); in update_current_target()
698 INHERIT (to_trace_start, t); in update_current_target()
699 INHERIT (to_get_trace_status, t); in update_current_target()
700 INHERIT (to_get_tracepoint_status, t); in update_current_target()
701 INHERIT (to_trace_stop, t); in update_current_target()
702 INHERIT (to_trace_find, t); in update_current_target()
703 INHERIT (to_get_trace_state_variable_value, t); in update_current_target()
704 INHERIT (to_save_trace_data, t); in update_current_target()
705 INHERIT (to_upload_tracepoints, t); in update_current_target()
706 INHERIT (to_upload_trace_state_variables, t); in update_current_target()
707 INHERIT (to_get_raw_trace_data, t); in update_current_target()
708 INHERIT (to_get_min_fast_tracepoint_insn_len, t); in update_current_target()
709 INHERIT (to_set_disconnected_tracing, t); in update_current_target()
710 INHERIT (to_set_circular_trace_buffer, t); in update_current_target()
711 INHERIT (to_set_trace_buffer_size, t); in update_current_target()
712 INHERIT (to_set_trace_notes, t); in update_current_target()
713 INHERIT (to_get_tib_address, t); in update_current_target()
714 INHERIT (to_set_permissions, t); in update_current_target()
715 INHERIT (to_static_tracepoint_marker_at, t); in update_current_target()
716 INHERIT (to_static_tracepoint_markers_by_strid, t); in update_current_target()
717 INHERIT (to_traceframe_info, t); in update_current_target()
718 INHERIT (to_use_agent, t); in update_current_target()
719 INHERIT (to_can_use_agent, t); in update_current_target()
720 INHERIT (to_magic, t); in update_current_target()
721 INHERIT (to_supports_evaluation_of_breakpoint_conditions, t); in update_current_target()
722 INHERIT (to_can_run_breakpoint_commands, t); in update_current_target()
985 push_target (struct target_ops *t) in push_target() argument
991 if (t->to_magic != OPS_MAGIC) in push_target()
995 t->to_shortname); in push_target()
1003 if ((int) (t->to_stratum) >= (int) (*cur)->to_stratum) in push_target()
1010 while ((*cur) != NULL && t->to_stratum == (*cur)->to_stratum) in push_target()
1022 t->beneath = (*cur); in push_target()
1023 (*cur) = t; in push_target()
1032 unpush_target (struct target_ops *t) in unpush_target() argument
1037 if (t->to_stratum == dummy_stratum) in unpush_target()
1046 if ((*cur) == t) in unpush_target()
1065 target_close (t, 0); in unpush_target()
1111 target_is_pushed (struct target_ops *t) in target_is_pushed() argument
1117 if (t->to_magic != OPS_MAGIC) in target_is_pushed()
1121 t->to_shortname); in target_is_pushed()
1127 if (*cur == t) in target_is_pushed()
1309 struct target_ops *t; in target_get_section_table() local
1314 for (t = target; t != NULL; t = t->beneath) in target_get_section_table()
1315 if (t->to_get_section_table != NULL) in target_get_section_table()
1316 return (*t->to_get_section_table) (t); in target_get_section_table()
1854 struct target_ops *t; in VEC() local
1859 for (t = current_target.beneath; t != NULL; t = t->beneath) in VEC()
1860 if (t->to_memory_map != NULL) in VEC()
1863 if (t == NULL) in VEC()
1866 result = t->to_memory_map (t); in VEC()
1897 struct target_ops *t; in target_flash_erase() local
1899 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_flash_erase()
1900 if (t->to_flash_erase != NULL) in target_flash_erase()
1905 t->to_flash_erase (t, address, length); in target_flash_erase()
1915 struct target_ops *t; in target_flash_done() local
1917 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_flash_done()
1918 if (t->to_flash_done != NULL) in target_flash_done()
1922 t->to_flash_done (t); in target_flash_done()
2468 struct target_ops *t; in target_info() local
2474 for (t = target_stack; t != NULL; t = t->beneath) in target_info()
2476 if (!(*t->to_has_memory) (t)) in target_info()
2479 if ((int) (t->to_stratum) <= (int) dummy_stratum) in target_info()
2484 printf_unfiltered ("%s:\n", t->to_longname); in target_info()
2485 (t->to_files_info) (t); in target_info()
2486 has_all_mem = (*t->to_has_all_memory) (t); in target_info()
2586 struct target_ops* t; in target_detach() local
2599 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_detach()
2601 if (t->to_detach != NULL) in target_detach()
2603 t->to_detach (t, args, from_tty); in target_detach()
2617 struct target_ops *t; in target_disconnect() local
2624 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_disconnect()
2625 if (t->to_disconnect != NULL) in target_disconnect()
2630 t->to_disconnect (t, args, from_tty); in target_disconnect()
2640 struct target_ops *t; in target_wait() local
2642 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_wait()
2644 if (t->to_wait != NULL) in target_wait()
2646 ptid_t retval = (*t->to_wait) (t, ptid, status, options); in target_wait()
2674 struct target_ops *t; in target_pid_to_str() local
2676 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_pid_to_str()
2678 if (t->to_pid_to_str != NULL) in target_pid_to_str()
2679 return (*t->to_pid_to_str) (t, ptid); in target_pid_to_str()
2688 struct target_ops *t; in target_thread_name() local
2690 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_thread_name()
2692 if (t->to_thread_name != NULL) in target_thread_name()
2693 return (*t->to_thread_name) (info); in target_thread_name()
2702 struct target_ops *t; in target_resume() local
2706 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_resume()
2708 if (t->to_resume != NULL) in target_resume()
2710 t->to_resume (t, ptid, step, signal); in target_resume()
2731 struct target_ops *t; in target_pass_signals() local
2733 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_pass_signals()
2735 if (t->to_pass_signals != NULL) in target_pass_signals()
2752 (*t->to_pass_signals) (numsigs, pass_signals); in target_pass_signals()
2761 struct target_ops *t; in target_program_signals() local
2763 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_program_signals()
2765 if (t->to_program_signals != NULL) in target_program_signals()
2782 (*t->to_program_signals) (numsigs, program_signals); in target_program_signals()
2794 struct target_ops *t; in target_follow_fork() local
2796 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_follow_fork()
2798 if (t->to_follow_fork != NULL) in target_follow_fork()
2800 int retval = t->to_follow_fork (t, follow_child); in target_follow_fork()
2817 struct target_ops *t; in target_mourn_inferior() local
2819 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_mourn_inferior()
2821 if (t->to_mourn_inferior != NULL) in target_mourn_inferior()
2823 t->to_mourn_inferior (t); in target_mourn_inferior()
2846 struct target_ops *t; in target_read_description() local
2848 for (t = target; t != NULL; t = t->beneath) in target_read_description()
2849 if (t->to_read_description != NULL) in target_read_description()
2853 tdesc = t->to_read_description (t); in target_read_description()
2981 struct target_ops *t; in target_search_memory() local
2992 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_search_memory()
2993 if (t->to_search_memory != NULL) in target_search_memory()
2996 if (t != NULL) in target_search_memory()
2998 found = t->to_search_memory (t, start_addr, search_space_len, in target_search_memory()
3023 struct target_ops *t; in target_require_runnable() local
3025 for (t = target_stack; t != NULL; t = t->beneath) in target_require_runnable()
3031 if (t->to_create_inferior != NULL) in target_require_runnable()
3037 if (t->to_stratum == thread_stratum in target_require_runnable()
3038 || t->to_stratum == arch_stratum) in target_require_runnable()
3043 t->to_shortname); in target_require_runnable()
3062 struct target_ops **t; in find_default_run_target() local
3068 for (t = target_structs; t < target_structs + target_struct_size; in find_default_run_target()
3069 ++t) in find_default_run_target()
3071 if ((*t)->to_can_run && target_can_run (*t)) in find_default_run_target()
3073 runable = *t; in find_default_run_target()
3092 struct target_ops *t; in find_default_attach() local
3094 t = find_default_run_target ("attach"); in find_default_attach()
3095 (t->to_attach) (t, args, from_tty); in find_default_attach()
3104 struct target_ops *t; in find_default_create_inferior() local
3106 t = find_default_run_target ("run"); in find_default_create_inferior()
3107 (t->to_create_inferior) (t, exec_file, allargs, env, from_tty); in find_default_create_inferior()
3114 struct target_ops *t; in find_default_can_async_p() local
3120 t = find_default_run_target (NULL); in find_default_can_async_p()
3121 if (t && t->to_can_async_p) in find_default_can_async_p()
3122 return (t->to_can_async_p) (); in find_default_can_async_p()
3129 struct target_ops *t; in find_default_is_async_p() local
3135 t = find_default_run_target (NULL); in find_default_is_async_p()
3136 if (t && t->to_is_async_p) in find_default_is_async_p()
3137 return (t->to_is_async_p) (); in find_default_is_async_p()
3144 struct target_ops *t; in find_default_supports_non_stop() local
3146 t = find_default_run_target (NULL); in find_default_supports_non_stop()
3147 if (t && t->to_supports_non_stop) in find_default_supports_non_stop()
3148 return (t->to_supports_non_stop) (); in find_default_supports_non_stop()
3155 struct target_ops *t; in target_supports_non_stop() local
3157 for (t = &current_target; t != NULL; t = t->beneath) in target_supports_non_stop()
3158 if (t->to_supports_non_stop) in target_supports_non_stop()
3159 return t->to_supports_non_stop (); in target_supports_non_stop()
3169 struct target_ops *t; in target_info_proc() local
3175 t = current_target.beneath; in target_info_proc()
3177 t = find_default_run_target (NULL); in target_info_proc()
3179 for (; t != NULL; t = t->beneath) in target_info_proc()
3181 if (t->to_info_proc != NULL) in target_info_proc()
3183 t->to_info_proc (t, args, what); in target_info_proc()
3199 struct target_ops *t; in find_default_supports_disable_randomization() local
3201 t = find_default_run_target (NULL); in find_default_supports_disable_randomization()
3202 if (t && t->to_supports_disable_randomization) in find_default_supports_disable_randomization()
3203 return (t->to_supports_disable_randomization) (); in find_default_supports_disable_randomization()
3210 struct target_ops *t; in target_supports_disable_randomization() local
3212 for (t = &current_target; t != NULL; t = t->beneath) in target_supports_disable_randomization()
3213 if (t->to_supports_disable_randomization) in target_supports_disable_randomization()
3214 return t->to_supports_disable_randomization (); in target_supports_disable_randomization()
3222 struct target_ops *t; in target_get_osdata() local
3228 t = current_target.beneath; in target_get_osdata()
3230 t = find_default_run_target ("get OS data"); in target_get_osdata()
3232 if (!t) in target_get_osdata()
3235 return target_read_stralloc (t, TARGET_OBJECT_OSDATA, type); in target_get_osdata()
3245 struct target_ops *t; in target_thread_address_space() local
3247 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_thread_address_space()
3249 if (t->to_thread_address_space != NULL) in target_thread_address_space()
3251 aspace = t->to_thread_address_space (t, ptid); in target_thread_address_space()
3296 struct target_ops *t; in target_fileio_open() local
3298 for (t = default_fileio_target (); t != NULL; t = t->beneath) in target_fileio_open()
3300 if (t->to_fileio_open != NULL) in target_fileio_open()
3302 int fd = t->to_fileio_open (filename, flags, mode, target_errno); in target_fileio_open()
3324 struct target_ops *t; in target_fileio_pwrite() local
3326 for (t = default_fileio_target (); t != NULL; t = t->beneath) in target_fileio_pwrite()
3328 if (t->to_fileio_pwrite != NULL) in target_fileio_pwrite()
3330 int ret = t->to_fileio_pwrite (fd, write_buf, len, offset, in target_fileio_pwrite()
3354 struct target_ops *t; in target_fileio_pread() local
3356 for (t = default_fileio_target (); t != NULL; t = t->beneath) in target_fileio_pread()
3358 if (t->to_fileio_pread != NULL) in target_fileio_pread()
3360 int ret = t->to_fileio_pread (fd, read_buf, len, offset, in target_fileio_pread()
3382 struct target_ops *t; in target_fileio_close() local
3384 for (t = default_fileio_target (); t != NULL; t = t->beneath) in target_fileio_close()
3386 if (t->to_fileio_close != NULL) in target_fileio_close()
3388 int ret = t->to_fileio_close (fd, target_errno); in target_fileio_close()
3407 struct target_ops *t; in target_fileio_unlink() local
3409 for (t = default_fileio_target (); t != NULL; t = t->beneath) in target_fileio_unlink()
3411 if (t->to_fileio_unlink != NULL) in target_fileio_unlink()
3413 int ret = t->to_fileio_unlink (filename, target_errno); in target_fileio_unlink()
3433 struct target_ops *t; in target_fileio_readlink() local
3435 for (t = default_fileio_target (); t != NULL; t = t->beneath) in target_fileio_readlink()
3437 if (t->to_fileio_readlink != NULL) in target_fileio_readlink()
3439 char *ret = t->to_fileio_readlink (filename, target_errno); in target_fileio_readlink()
3619 struct target_ops **t; in find_run_target() local
3625 for (t = target_structs; t < target_structs + target_struct_size; ++t) in find_run_target()
3627 if ((*t)->to_can_run && target_can_run (*t)) in find_run_target()
3629 runable = *t; in find_run_target()
3642 find_target_beneath (struct target_ops *t) in find_target_beneath() argument
3644 return t->beneath; in find_target_beneath()
3792 struct target_ops *t; in target_attach() local
3794 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_attach()
3796 if (t->to_attach != NULL) in target_attach()
3798 t->to_attach (t, args, from_tty); in target_attach()
3813 struct target_ops *t; in target_thread_alive() local
3815 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_thread_alive()
3817 if (t->to_thread_alive != NULL) in target_thread_alive()
3821 retval = t->to_thread_alive (t, ptid); in target_thread_alive()
3836 struct target_ops *t; in target_find_new_threads() local
3838 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_find_new_threads()
3840 if (t->to_find_new_threads != NULL) in target_find_new_threads()
3842 t->to_find_new_threads (t); in target_find_new_threads()
4005 struct target_ops *t; in target_fetch_registers() local
4007 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_fetch_registers()
4009 if (t->to_fetch_registers != NULL) in target_fetch_registers()
4011 t->to_fetch_registers (t, regcache, regno); in target_fetch_registers()
4022 struct target_ops *t; in target_store_registers() local
4027 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_store_registers()
4029 if (t->to_store_registers != NULL) in target_store_registers()
4031 t->to_store_registers (t, regcache, regno); in target_store_registers()
4046 struct target_ops *t; in target_core_of_thread() local
4048 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_core_of_thread()
4050 if (t->to_core_of_thread != NULL) in target_core_of_thread()
4052 int retval = t->to_core_of_thread (t, ptid); in target_core_of_thread()
4068 struct target_ops *t; in target_verify_memory() local
4070 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_verify_memory()
4072 if (t->to_verify_memory != NULL) in target_verify_memory()
4074 int retval = t->to_verify_memory (t, data, memaddr, size); in target_verify_memory()
4095 struct target_ops *t; in target_insert_mask_watchpoint() local
4097 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_insert_mask_watchpoint()
4098 if (t->to_insert_mask_watchpoint != NULL) in target_insert_mask_watchpoint()
4102 ret = t->to_insert_mask_watchpoint (t, addr, mask, rw); in target_insert_mask_watchpoint()
4122 struct target_ops *t; in target_remove_mask_watchpoint() local
4124 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_remove_mask_watchpoint()
4125 if (t->to_remove_mask_watchpoint != NULL) in target_remove_mask_watchpoint()
4129 ret = t->to_remove_mask_watchpoint (t, addr, mask, rw); in target_remove_mask_watchpoint()
4149 struct target_ops *t; in target_masked_watch_num_registers() local
4151 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_masked_watch_num_registers()
4152 if (t->to_masked_watch_num_registers != NULL) in target_masked_watch_num_registers()
4153 return t->to_masked_watch_num_registers (t, addr, mask); in target_masked_watch_num_registers()
4164 struct target_ops *t; in target_ranged_break_num_registers() local
4166 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_ranged_break_num_registers()
4167 if (t->to_ranged_break_num_registers != NULL) in target_ranged_break_num_registers()
4168 return t->to_ranged_break_num_registers (t); in target_ranged_break_num_registers()
4178 struct target_ops *t; in target_supports_btrace() local
4180 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_supports_btrace()
4181 if (t->to_supports_btrace != NULL) in target_supports_btrace()
4182 return t->to_supports_btrace (); in target_supports_btrace()
4192 struct target_ops *t; in target_enable_btrace() local
4194 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_enable_btrace()
4195 if (t->to_enable_btrace != NULL) in target_enable_btrace()
4196 return t->to_enable_btrace (ptid); in target_enable_btrace()
4207 struct target_ops *t; in target_disable_btrace() local
4209 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_disable_btrace()
4210 if (t->to_disable_btrace != NULL) in target_disable_btrace()
4211 return t->to_disable_btrace (btinfo); in target_disable_btrace()
4221 struct target_ops *t; in target_teardown_btrace() local
4223 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_teardown_btrace()
4224 if (t->to_teardown_btrace != NULL) in target_teardown_btrace()
4225 return t->to_teardown_btrace (btinfo); in target_teardown_btrace()
4236 struct target_ops *t; in VEC() local
4238 for (t = current_target.beneath; t != NULL; t = t->beneath) in VEC()
4239 if (t->to_read_btrace != NULL) in VEC()
4240 return t->to_read_btrace (btinfo, type); in VEC()
4251 struct target_ops *t; in target_stop_recording() local
4253 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_stop_recording()
4254 if (t->to_stop_recording != NULL) in target_stop_recording()
4256 t->to_stop_recording (); in target_stop_recording()
4268 struct target_ops *t; in target_info_record() local
4270 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_info_record()
4271 if (t->to_info_record != NULL) in target_info_record()
4273 t->to_info_record (); in target_info_record()
4285 struct target_ops *t; in target_save_record() local
4287 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_save_record()
4288 if (t->to_save_record != NULL) in target_save_record()
4290 t->to_save_record (filename); in target_save_record()
4302 struct target_ops *t; in target_supports_delete_record() local
4304 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_supports_delete_record()
4305 if (t->to_delete_record != NULL) in target_supports_delete_record()
4316 struct target_ops *t; in target_delete_record() local
4318 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_delete_record()
4319 if (t->to_delete_record != NULL) in target_delete_record()
4321 t->to_delete_record (); in target_delete_record()
4333 struct target_ops *t; in target_record_is_replaying() local
4335 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_record_is_replaying()
4336 if (t->to_record_is_replaying != NULL) in target_record_is_replaying()
4337 return t->to_record_is_replaying (); in target_record_is_replaying()
4347 struct target_ops *t; in target_goto_record_begin() local
4349 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_goto_record_begin()
4350 if (t->to_goto_record_begin != NULL) in target_goto_record_begin()
4352 t->to_goto_record_begin (); in target_goto_record_begin()
4364 struct target_ops *t; in target_goto_record_end() local
4366 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_goto_record_end()
4367 if (t->to_goto_record_end != NULL) in target_goto_record_end()
4369 t->to_goto_record_end (); in target_goto_record_end()
4381 struct target_ops *t; in target_goto_record() local
4383 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_goto_record()
4384 if (t->to_goto_record != NULL) in target_goto_record()
4386 t->to_goto_record (insn); in target_goto_record()
4398 struct target_ops *t; in target_insn_history() local
4400 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_insn_history()
4401 if (t->to_insn_history != NULL) in target_insn_history()
4403 t->to_insn_history (size, flags); in target_insn_history()
4415 struct target_ops *t; in target_insn_history_from() local
4417 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_insn_history_from()
4418 if (t->to_insn_history_from != NULL) in target_insn_history_from()
4420 t->to_insn_history_from (from, size, flags); in target_insn_history_from()
4432 struct target_ops *t; in target_insn_history_range() local
4434 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_insn_history_range()
4435 if (t->to_insn_history_range != NULL) in target_insn_history_range()
4437 t->to_insn_history_range (begin, end, flags); in target_insn_history_range()
4449 struct target_ops *t; in target_call_history() local
4451 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_call_history()
4452 if (t->to_call_history != NULL) in target_call_history()
4454 t->to_call_history (size, flags); in target_call_history()
4466 struct target_ops *t; in target_call_history_from() local
4468 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_call_history_from()
4469 if (t->to_call_history_from != NULL) in target_call_history_from()
4471 t->to_call_history_from (begin, size, flags); in target_call_history_from()
4483 struct target_ops *t; in target_call_history_range() local
4485 for (t = current_target.beneath; t != NULL; t = t->beneath) in target_call_history_range()
4486 if (t->to_call_history_range != NULL) in target_call_history_range()
4488 t->to_call_history_range (begin, end, flags); in target_call_history_range()
5019 struct target_ops *t; in maintenance_print_target_stack() local
5023 for (t = target_stack; t != NULL; t = t->beneath) in maintenance_print_target_stack()
5025 printf_filtered (" - %s (%s)\n", t->to_shortname, t->to_longname); in maintenance_print_target_stack()