|
GDB (xrefs)
|
#include "inferior.h"
Public Member Functions | |
| inferior (int pid) | |
| ~inferior () | |
| bool | deletable () const |
Public Member Functions inherited from refcounted_object | |
| refcounted_object ()=default | |
| void | incref () |
| void | decref () |
| int | refcount () const |
Public Attributes | |
| struct inferior * | next = NULL |
| int | num = 0 |
| int | pid = 0 |
| bool | fake_pid_p = false |
| int | highest_thread_num = 0 |
| inferior_control_state | control {NO_STOP_QUIETLY} |
| bool | removable = false |
| struct address_space * | aspace = NULL |
| struct program_space * | pspace = NULL |
| char * | args = NULL |
| int | argc = 0 |
| char ** | argv = NULL |
| gdb::unique_xmalloc_ptr< char > | cwd |
| char * | terminal = NULL |
| gdb_environ | environment |
| bool | attach_flag = false |
| inferior * | vfork_parent = NULL |
| inferior * | vfork_child = NULL |
| bool | pending_detach = false |
| bool | waiting_for_vfork_done = false |
| bool | detaching = false |
| continuation * | continuations = NULL |
| bool | needs_setup = false |
| std::unique_ptr< private_inferior > | priv |
| bool | has_exit_code = false |
| LONGEST | exit_code = 0 |
| symfile_add_flags | symfile_flags = 0 |
| target_desc_info * | tdesc_info = NULL |
| struct gdbarch * | gdbarch = NULL |
| REGISTRY_FIELDS | |
Definition at line 310 of file inferior.h.
|
explicit |
Definition at line 87 of file inferior.c.
Referenced by add_inferior_silent(), attach_post_wait(), clear_proceed_status(), gnu_attach(), nto_inferior_data(), setup_inferior(), and start_remote().
| inferior::~inferior | ( | ) |
Definition at line 76 of file inferior.c.
References discard_all_inferior_continuations(), target_desc_info_free(), and xfree().
|
inline |
Definition at line 317 of file inferior.h.
References refcounted_object::refcount().
Referenced by prune_inferiors().
| int inferior::argc = 0 |
Definition at line 355 of file inferior.h.
Referenced by construct_inferior_arguments(), exec_reverse_continue(), mi_cmd_add_inferior(), mi_cmd_exec_continue(), mi_cmd_remove_inferior(), mi_cmd_thread_list_ids(), mi_cmd_thread_select(), set_inferior_args(), and set_inferior_args_vector().
| char* inferior::args = NULL |
Definition at line 352 of file inferior.h.
Referenced by add_inferior_continuation(), attach_command(), clone_inferior_command(), darwin_attach(), detach_command(), disconnect_command(), get_inferior_args(), gnu_attach(), go32_create_inferior(), inferior_command(), info_mach_exceptions_command(), info_mach_port_command(), info_mach_threads_command(), interrupt_command(), procfs_attach(), procfs_create_inferior(), set_inferior_args(), strip_bg_char(), and windows_create_inferior().
| char** inferior::argv = NULL |
Definition at line 361 of file inferior.h.
Referenced by set_inferior_args(), and set_inferior_args_vector().
| struct address_space* inferior::aspace = NULL |
Definition at line 346 of file inferior.h.
Referenced by clone_inferior_command(), follow_fork_inferior(), handle_inferior_event_1(), and initialize_inferiors().
| bool inferior::attach_flag = false |
Definition at line 375 of file inferior.h.
Referenced by ctrl_c_handler(), follow_fork_inferior(), gnu_attach(), and target_pre_inferior().
| continuation* inferior::continuations = NULL |
Definition at line 402 of file inferior.h.
| inferior_control_state inferior::control {NO_STOP_QUIETLY} |
Definition at line 337 of file inferior.h.
Referenced by attach_command(), attach_post_wait(), clear_proceed_status(), notice_new_inferior(), and start_remote().
| gdb::unique_xmalloc_ptr<char> inferior::cwd |
Definition at line 365 of file inferior.h.
Referenced by get_inferior_cwd(), set_inferior_cwd(), and show_cwd_command().
| bool inferior::detaching = false |
Definition at line 397 of file inferior.h.
| gdb_environ inferior::environment |
Definition at line 372 of file inferior.h.
Referenced by environment_info(), extended_remote_environment_support(), mi_cmd_env_path(), path_command(), set_environment_command(), and unset_environment_command().
| LONGEST inferior::exit_code = 0 |
Definition at line 416 of file inferior.h.
Referenced by handle_inferior_event_1(), and print_one_inferior().
| bool inferior::fake_pid_p = false |
Definition at line 330 of file inferior.h.
Referenced by add_to_thread_list(), linux_find_memory_regions_full(), and remote_add_inferior().
| struct gdbarch* inferior::gdbarch = NULL |
Definition at line 437 of file inferior.h.
Referenced by clone_inferior_command(), follow_fork_inferior(), set_target_gdbarch(), and target_gdbarch().
| bool inferior::has_exit_code = false |
Definition at line 415 of file inferior.h.
Referenced by handle_inferior_event_1(), and print_one_inferior().
| int inferior::highest_thread_num = 0 |
Definition at line 333 of file inferior.h.
Referenced by target_pre_inferior(), and thread_info::thread_info().
| bool inferior::needs_setup = false |
Definition at line 408 of file inferior.h.
Referenced by attach_command(), attach_post_wait(), and setup_inferior().
| struct inferior* inferior::next = NULL |
Definition at line 320 of file inferior.h.
Referenced by gdb.FrameIterator.FrameIterator::__next__(), add_inferior_silent(), prune_inferiors(), and show_inferior_qualified_tids().
| int inferior::num = 0 |
Definition at line 324 of file inferior.h.
Referenced by attach_post_wait(), clone_inferior_command(), exit_inferior_num_silent(), find_inferior_id(), gdb_inferior_id_to_pid(), get_sim_inferior_data(), inferior_command(), mi_cmd_thread_list_ids(), mi_cmd_thread_select(), mi_memory_changed(), mi_record_changed(), mi_thread_exit(), print_one_inferior(), print_thread_id(), print_thread_info_1(), process_initial_stop_replies(), remove_inferior_command(), save_stop_context(), should_print_thread(), show_inferior_qualified_tids(), tp_array_compar(), and valid_gdb_inferior_id().
| bool inferior::pending_detach = false |
Definition at line 389 of file inferior.h.
Referenced by follow_fork_inferior().
| int inferior::pid = 0 |
Definition at line 328 of file inferior.h.
Referenced by attach_post_wait(), gdb_inferior_id_to_pid(), inf_has_multiple_thread_cb(), linux_find_memory_regions_full(), linux_info_proc(), linux_vsyscall_range_raw(), mi_cmd_remove_inferior(), print_one_inferior(), prune_inferiors(), and scoped_restore_current_thread::~scoped_restore_current_thread().
| std::unique_ptr<private_inferior> inferior::priv |
Definition at line 411 of file inferior.h.
Referenced by darwin_attach(), darwin_deallocate_threads(), darwin_decode_message(), darwin_decode_notify_message(), darwin_detach(), darwin_find_new_inferior(), darwin_find_thread(), darwin_get_ada_task_ptid(), darwin_interrupt(), darwin_kill_inferior(), darwin_mourn_inferior(), darwin_reply_to_all_pending_messages(), darwin_resume_inferior(), darwin_resume_inferior_threads(), darwin_send_reply(), darwin_setup_fake_stop_event(), darwin_suspend_inferior(), darwin_wait(), darwin_xfer_partial(), find_inferior_task_it(), info_mach_exceptions_command(), info_mach_ports_command(), info_mach_region_command(), and set_enable_mach_exceptions().
| struct program_space* inferior::pspace = NULL |
Definition at line 349 of file inferior.h.
Referenced by bpfinishpy_detect_out_scope_cb(), clone_inferior_command(), elf_gnu_ifunc_resolver_stop(), find_inferior_for_program_space(), follow_fork_inferior(), handle_inferior_event_1(), initialize_inferiors(), mi_cmd_remove_inferior(), print_one_inferior(), and print_program_space().
| inferior::REGISTRY_FIELDS |
Definition at line 440 of file inferior.h.
| bool inferior::removable = false |
Definition at line 343 of file inferior.h.
Referenced by follow_fork_inferior(), and prune_inferiors().
| symfile_add_flags inferior::symfile_flags = 0 |
Definition at line 420 of file inferior.h.
Referenced by follow_fork_inferior(), solib_read_symbols(), and symbol_file_add_main_1().
| target_desc_info* inferior::tdesc_info = NULL |
Definition at line 424 of file inferior.h.
| char* inferior::terminal = NULL |
Definition at line 368 of file inferior.h.
Referenced by get_inferior_io_terminal(), and set_inferior_io_terminal().
| inferior* inferior::vfork_child = NULL |
Definition at line 385 of file inferior.h.
Referenced by follow_fork_inferior().
| inferior* inferior::vfork_parent = NULL |
Definition at line 379 of file inferior.h.
Referenced by follow_fork_inferior().
| bool inferior::waiting_for_vfork_done = false |
Definition at line 394 of file inferior.h.
Referenced by follow_fork_inferior(), and handle_inferior_event_1().
1.8.14