GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
progspace.h File Reference
#include "target.h"
#include "gdb_bfd.h"
#include "gdbsupport/gdb_vecs.h"
#include "registry.h"
#include "solist.h"
#include "gdbsupport/next-iterator.h"
#include "gdbsupport/safe-iterator.h"
#include <list>
#include <vector>

Go to the source code of this file.

Classes

class  unwrapping_objfile_iterator
 
struct  program_space
 
struct  address_space
 
class  scoped_restore_current_program_space
 

Typedefs

typedef std::list< std::unique_ptr< objfile > > objfile_list
 
using unwrapping_objfile_range = iterator_range<unwrapping_objfile_iterator>
 

Functions

struct program_spaceclone_program_space (struct program_space *dest, struct program_space *src)
 
void set_current_program_space (struct program_space *pspace)
 
struct address_spacemaybe_new_address_space (void)
 
void update_address_spaces (void)
 

Variables

std::vector< struct program_space * > program_spaces
 
struct program_spacecurrent_program_space
 

Typedef Documentation

◆ objfile_list

typedef std::list<std::unique_ptr<objfile> > objfile_list

Definition at line 43 of file progspace.h.

◆ unwrapping_objfile_range

Definition at line 92 of file progspace.h.

Function Documentation

◆ clone_program_space()

struct program_space * clone_program_space ( struct program_space * dest,
struct program_space * src )
extern

◆ maybe_new_address_space()

struct address_space * maybe_new_address_space ( void )
extern

◆ set_current_program_space()

void set_current_program_space ( struct program_space * pspace)
extern

◆ update_address_spaces()

void update_address_spaces ( void )
extern

Variable Documentation

◆ current_program_space

struct program_space* current_program_space
extern

Definition at line 40 of file progspace.c.

Referenced by ada_add_global_exceptions(), ada_add_standard_exceptions(), ada_catchpoint::ada_catchpoint(), ada_get_tcb_types_info(), add_nonlocal_symbols(), add_symbol_file_command(), add_symbol_file_from_memory_command(), add_symbol_overload_list_qualified(), add_vsyscall_page(), amd_dbgapi_target_breakpoint::amd_dbgapi_target_breakpoint(), auxv_all_objfiles_removed(), basic_lookup_transparent_type(), bpfinishpy_init(), breakpoint_init_inferior(), breakpoint_re_set_thread(), core_target::build_file_mappings(), cache_symbol(), call_function_by_hand_dummy(), captured_main_1(), catchpoint::catchpoint(), solib_catchpoint::check_status(), core_target::clear_core(), clear_current_source_symtab_and_line(), clear_solib(), clear_symtab_users(), collect_probes(), ada_language::collect_symbol_completion_matches(), compare_sections_command(), core_addr_to_ps_addr(), core_target_open(), count_symtabs_and_blocks(), create_breakpoint(), create_exception_master_breakpoint(), nto_procfs_target::create_inferior(), gdbsim_target::create_inferior(), rs6000_nat_target::create_inferior(), create_longjmp_master_breakpoint(), create_new_frame(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), darwin_solib_create_inferior_hook(), default_collect_symbol_completion_matches_break_on(), default_gcore_arch(), default_gcore_target(), default_get_section_table(), default_iterate_over_objfiles_in_search_order(), default_print_insn(), disable_breakpoints_before_startup(), disable_breakpoints_in_shlibs(), display_command(), do_one_display(), tui_disasm_window::do_scroll_vertical(), dsbt_relocate_main_executable(), dwarf2_frame_find_fde(), elf_gnu_ifunc_resolver_return_stop(), elf_locate_base(), enable_break(), enable_break(), enable_break(), enable_break2(), enable_breakpoints_after_startup(), entry_point_address_query(), exception_catchpoint::exception_catchpoint(), exec_file_attach(), exec_read_partial_read_only(), exec_set_section_address(), expand_symtabs_matching(), fbsd_get_tls_index(), fbsd_vsyscall_range(), exec_target::files_info(), gdbsim_target::files_info(), find_debug_base_for_solib(), find_frame_for_function(), find_function_start_sal_1(), find_line_symtab(), find_main_name(), find_methods(), find_pc_mapped_section(), find_pc_overlay(), find_pc_sect_compunit_symtab(), find_pc_sect_line(), find_pc_section(), find_pretty_printer_from_objfiles(), find_pretty_printer_from_progspace(), find_probe_by_pc(), find_program_interpreter(), find_program_interpreter(), find_solib_for_objfile(), find_solib_trampoline_target(), find_symbol_at_address(), find_unwind_entry(), finish_new_objfile(), follow_exec(), program_space::free_all_objfiles(), frv_fdpic_find_canonical_descriptor(), frv_fdpic_find_global_pointer(), frv_fetch_objfile_link_map(), frv_relocate_main_executable(), gcore_create_callback(), gdb_bfd_scan_elf_dyntag(), gdb_print_insn_arm(), gdbarch_update_p(), gdbpy_get_matching_xmethod_workers(), gdbpy_lookup_static_symbols(), gdbscm_current_progspace(), gdbscm_objfiles(), gdbsim_target_open(), get_current_frame(), get_current_source_symtab_and_line(), get_darwin_info(), get_dsbt_info(), get_exec_file(), remote_target::get_offsets(), source_cache::get_plain_source_lines(), get_remote_exec_file(), get_sim_inferior_data(), get_symbol_leading_char(), thread_db_target::get_thread_local_address(), handle_vfork_child_exec_or_exit(), has_libpthread(), exec_target::has_memory(), have_full_symbols(), have_minimal_symbols(), have_partial_symbols(), info_auto_load_gdb_scripts(), info_auto_load_guile_scripts(), info_auto_load_python_scripts(), info_classes_command(), info_line_command(), info_selectors_command(), info_sharedlibrary_command(), info_source_command(), info_sources_worker(), info_symbol_command(), info_target_command(), initialize_inferiors(), initialize_progspace(), insert_single_step_breakpoint(), inside_main_func(), internal_breakpoint::internal_breakpoint(), iterate_over_all_matching_symtabs(), iterate_over_symtabs(), jit_breakpoint_re_set(), jit_find_objf_with_entry_addr(), jit_inferior_exit_hook(), linespec_expression_to_pc(), linespec_state_constructor(), list_overlays_command(), lm_base(), lm_base(), lookup_cached_symbol(), lookup_global_or_static_symbol(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_linkage(), lookup_minimal_symbol_text(), main_got(), main_language(), main_name(), maintenance_check_psymtabs(), maintenance_info_sections(), maintenance_print_msymbols(), maintenance_print_psymbols(), maintenance_print_symbols(), maintenance_translate_address(), objfile::make(), make_source_files_completion_list(), map_overlay_command(), map_symbol_filenames(), mark_breakpoints_out(), matching_obj_sections(), mi_cmd_file_list_shared_libraries(), minsym_found(), objfile_find_memory_regions(), objfile_purge_solibs(), objfiles_changed(), one_breakpoint_xfer_memory(), open_symbol_file_object(), overlay_invalidate_all(), nto_procfs_target::post_attach(), extended_remote_target::post_attach(), post_create_inferior(), ppscm_find_pretty_printer_from_objfiles(), ppscm_find_pretty_printer_from_progspace(), print_program_space(), print_section_info(), print_solib_event(), print_source_lines_base(), ps_addr_to_core_addr(), ps_pdmodel(), ptid_from_atcb_common(), exception_catchpoint::re_set(), code_breakpoint::re_set_default(), read_atcb(), read_known_tasks_list(), tui_source_window_base::refill(), reload_shared_libraries_1(), remote_target::remote_add_inferior(), remove_jit_event_breakpoints(), remove_solib_event_breakpoints(), remove_solib_event_breakpoints_at_next_stop(), remove_symbol_file_command(), reopen_exec_file(), reread_symbols(), rw_common(), save_gdb_index_command(), scan_file_globals(), scoped_disasm_info_object::scoped_disasm_info_object(), global_symbol_searcher::search(), search_command_helper(), search_minsyms_for_name(), select_source_symtab(), set_can_use_agent(), set_current_program_space(), set_default_source_symtab_and_line(), set_longjmp_breakpoint(), set_longjmp_breakpoint_for_call_dummy(), set_remote_exec_file(), set_section_command(), set_std_terminate_breakpoint(), simple_overlay_update(), solib_add(), solib_aix_solib_create_inferior_hook(), solib_map_sections(), solib_read_symbols(), solib_used(), sort_cmp(), svr4_clear_solib(), svr4_current_sos(), svr4_current_sos_direct(), svr4_exec_displacement(), svr4_fetch_objfile_link_map(), svr4_handle_solib_event(), svr4_in_dynsym_resolve_code(), svr4_iterate_over_objfiles_in_search_order(), svr4_keep_data_in_core(), svr4_relocate_main_executable(), svr4_solib_create_inferior_hook(), symbol_file_add_from_memory(), symbol_file_clear(), syms_from_objfile_1(), target_dcache_get(), target_dcache_get_or_init(), target_dcache_init_p(), target_dcache_invalidate(), remote_target::trace_set_readonly_regions(), try_thread_db_load_from_pdir(), objfile::unlink(), unmap_overlay_command(), update_address_spaces(), update_breakpoints_after_exec(), update_solib_list(), validate_exec_file(), validate_files(), watch_command_1(), watchpoint_in_thread_scope(), windows_iterate_over_objfiles_in_search_order(), windows_solib_create_inferior_hook(), z80_overlay_update(), z80_overlay_update_1(), and program_space::~program_space().

◆ program_spaces

std::vector<struct program_space *> program_spaces
extern