GDB (xrefs)
|
#include "target.h"
Classes | |
class | scoped_restore_terminal_state |
Public Member Functions | |
target_terminal ()=delete | |
~target_terminal ()=delete | |
DISABLE_COPY_AND_ASSIGN (target_terminal) | |
Static Public Member Functions | |
static void | init () |
static void | inferior () |
static void | ours () |
static void | ours_for_output () |
static void | restore_inferior () |
static bool | is_inferior () |
static bool | is_ours () |
static bool | is_ours_for_output () |
static void | info (const char *arg, int from_tty) |
Static Private Attributes | |
static target_terminal_state | m_terminal_state = target_terminal_state::is_ours |
|
delete |
|
delete |
target_terminal::DISABLE_COPY_AND_ASSIGN | ( | target_terminal | ) |
|
static |
Definition at line 952 of file target.c.
References check_quit_flag(), current_inferior(), current_ui, is_inferior, m_terminal_state, main_ui, PROMPT_BLOCKED, ui::prompt_state, target_pass_ctrlc(), target_ops::terminal_inferior(), and inferior::top_target().
Referenced by attach_command(), continue_1(), windows_nat_target::do_initial_windows_stuff(), do_target_resume(), handle_jit_event(), handle_no_resumed(), handle_signal_stop(), handle_solib_event(), proceed(), startup_inferior(), and remote_target::wait_as().
|
static |
Definition at line 1106 of file target.c.
References current_inferior(), target_ops::terminal_info(), and inferior::top_target().
Referenced by info_terminal_command().
|
static |
Definition at line 942 of file target.c.
References current_inferior(), is_ours, m_terminal_state, target_ops::terminal_init(), and inferior::top_target().
Referenced by gnu_nat_target::attach(), attach_command(), nto_procfs_target::create_inferior(), windows_nat_target::do_initial_windows_stuff(), and startup_inferior().
|
inlinestatic |
Definition at line 183 of file target.h.
References is_inferior, and m_terminal_state.
Referenced by ours_for_output().
|
inlinestatic |
Definition at line 189 of file target.h.
References is_ours, and m_terminal_state.
Referenced by child_pass_ctrlc(), default_quit_handler(), infrun_quit_handler(), remote_target::remote_serial_quit_handler(), restore_active_ext_lang(), set_active_ext_lang(), and wait_for_signal().
|
inlinestatic |
Definition at line 195 of file target.h.
References is_ours_for_output, and m_terminal_state.
|
static |
Definition at line 1070 of file target.c.
References current_ui, is_ours, m_terminal_state, main_ui, and target_terminal_is_ours_kind().
Referenced by async_enable_stdin(), linux_nat_target::attach(), windows_nat_target::attach(), check_curr_ui_sync_execution_done(), windows_nat_target::get_windows_debug_event(), handle_inferior_event(), handle_no_resumed(), record_full_wait_1(), scoped_input_handler::scoped_input_handler(), startup_inferior(), undo_terminal_modifications_before_exit(), and target_terminal::scoped_restore_terminal_state::~scoped_restore_terminal_state().
|
static |
Definition at line 1088 of file target.c.
References current_ui, is_inferior(), is_ours_for_output, m_terminal_state, main_ui, and target_terminal_is_ours_kind().
Referenced by amd_dbgapi_log_message_callback(), annotate_breakpoints_invalid(), annotate_frames_invalid(), ATTRIBUTE_PRINTF(), ATTRIBUTE_PRINTF(), disable_breakpoints_in_unloaded_shlib(), follow_exec(), follow_fork_inferior(), handle_jit_event(), handle_signal_stop(), handle_solib_event(), handle_vfork_child_exec_or_exit(), insert_breakpoint_locations(), maybe_remove_breakpoints(), normal_stop(), mi_interp::on_breakpoint_created(), mi_interp::on_breakpoint_deleted(), mi_interp::on_breakpoint_modified(), mi_interp::on_inferior_added(), mi_interp::on_inferior_appeared(), mi_interp::on_inferior_disappeared(), mi_interp::on_inferior_removed(), mi_interp::on_memory_changed(), mi_interp::on_new_thread(), mi_interp::on_param_changed(), mi_interp::on_record_changed(), mi_interp::on_solib_loaded(), mi_interp::on_solib_unloaded(), mi_interp::on_target_resumed(), mi_interp::on_thread_exited(), mi_interp::on_traceframe_changed(), mi_interp::on_tsv_created(), mi_interp::on_tsv_deleted(), mi_interp::on_tsv_modified(), mi_interp::on_user_selected_context_changed(), post_create_inferior(), prepare_one_step(), print_flush(), tui_refresh_frame_and_register_information(), update_inserted_breakpoint_locations(), vwarning(), remote_target::wait_as(), and target_terminal::scoped_restore_terminal_state::~scoped_restore_terminal_state().
|
static |
Definition at line 990 of file target.c.
References all_inferiors(), check_quit_flag(), current_inferior(), current_ui, is_inferior, is_ours_for_output, m_terminal_state, main_ui, PROMPT_BLOCKED, ui::prompt_state, restore_inferior(), set_current_inferior(), target_pass_ctrlc(), target_ops::terminal_inferior(), and inferior::top_target().
Referenced by restore_inferior(), and target_terminal::scoped_restore_terminal_state::~scoped_restore_terminal_state().
|
staticprivate |
Definition at line 242 of file target.h.
Referenced by inferior(), init(), is_inferior(), is_ours(), is_ours_for_output(), ours(), ours_for_output(), and restore_inferior().