GDB (xrefs)
|
Go to the source code of this file.
#define exec_bfd current_program_space->ebfd |
Definition at line 33 of file exec.h.
Referenced by add_symbol_file_from_memory_command(), add_vsyscall_page(), clear_solib(), compare_sections_command(), core_addr_to_ps_addr(), core_open(), cris_delayed_get_disassembler(), darwin_solib_create_inferior_hook(), default_gcore_arch(), default_gcore_mach(), default_gcore_target(), disable_breakpoints_in_unloaded_shlib(), elf_locate_base(), elf_lookup_lib_symbol(), enable_break(), enable_break2(), enable_thread_event(), exec_close(), exec_file_attach(), exec_files_info(), find_program_interpreter(), find_source_lines(), gdb_loadfile(), gdbarch_update_p(), gdbsim_create_inferior(), gdbsim_files_info(), gdbsim_open(), get_sim_inferior_data(), lm_base(), m32r_create_inferior(), m32r_files_info(), m32r_load(), maintenance_info_sections(), monitor_create_inferior(), monitor_load(), objfile_find_memory_regions(), post_create_inferior(), print_section_info(), procfs_create_inferior(), procfs_post_attach(), ps_addr_to_core_addr(), remote_start_remote(), remote_trace_set_readonly_regions(), reopen_exec_file(), reread_symbols(), rs6000_create_inferior(), rw_common(), svr4_current_sos_direct(), svr4_exec_displacement(), svr4_relocate_main_executable(), tfile_xfer_partial(), thread_db_get_thread_local_address(), and validate_files().
#define exec_bfd_mtime current_program_space->ebfd_mtime |
Definition at line 34 of file exec.h.
Referenced by exec_close(), exec_file_attach(), find_source_lines(), and reopen_exec_file().
#define exec_filename current_program_space->pspace_exec_filename |
Definition at line 35 of file exec.h.
Referenced by exec_close(), exec_file_attach(), and get_exec_file().
void add_target_sections | ( | void * | owner, |
struct target_section * | sections, | ||
struct target_section * | sections_end | ||
) |
Definition at line 411 of file exec.c.
References current_target_sections, exec_ops, target_section::owner, push_target(), resize_section_table(), sections, target_section_table::sections, and using_exec_ops.
Referenced by exec_file_attach(), and solib_map_sections().
int build_section_table | ( | struct bfd * | , |
struct target_section ** | , | ||
struct target_section ** | |||
) |
Definition at line 389 of file exec.c.
References _, add_to_section_table(), internal_error(), xfree(), and xmalloc().
Referenced by core_open(), exec_file_attach(), record_full_core_open_1(), solib_map_sections(), and target_bfd_reopen().
void exec_close | ( | void | ) |
Definition at line 91 of file exec.c.
References exec_bfd, exec_bfd_mtime, exec_filename, gdb_bfd_unref(), remove_target_sections(), and xfree().
Referenced by exec_close_1(), exec_file_attach(), exec_file_clear(), and release_program_space().
void exec_set_section_address | ( | const char * | , |
int | , | ||
CORE_ADDR | |||
) |
Definition at line 737 of file exec.c.
References target_section::addr, current_target_sections, target_section::endaddr, p, target_section_table::sections, sections_end, and target_section::the_bfd_section.
Referenced by default_symfile_offsets(), objfile_relocate1(), and svr4_relocate_main_executable().
void print_section_info | ( | struct target_section_table * | table, |
bfd * | abfd | ||
) |
Definition at line 613 of file exec.c.
References _, target_section::addr, target_section::endaddr, exec_bfd, gdbarch_addr_bit(), gdbarch_addr_bits_remove(), gdbarch_from_bfd(), hex_string_custom(), info_verbose, p, paddress(), printf_filtered(), target_section_table::sections, sections_end, target_section_table::sections_end, target_section::the_bfd_section, warning(), and wrap_here().
Referenced by core_files_info(), and exec_files_info().
void remove_target_sections | ( | void * | owner | ) |
Definition at line 445 of file exec.c.
References ALL_PSPACES, current_target_sections, exec_ops, gdb_assert, target_section::owner, resize_section_table(), target_section_table::sections, sections_end, target_section_table::sections_end, program_space::target_sections, and unpush_target().
Referenced by clear_solib(), exec_close(), reload_shared_libraries_1(), and update_solib_list().
int resize_section_table | ( | struct target_section_table * | , |
int | |||
) |
Definition at line 361 of file exec.c.
References target_section_table::sections, target_section_table::sections_end, xfree(), and xrealloc().
Referenced by add_target_sections(), exec_close_1(), release_program_space(), and remove_target_sections().
int section_table_xfer_memory_partial | ( | gdb_byte * | , |
const gdb_byte * | , | ||
ULONGEST | , | ||
LONGEST | , | ||
struct target_section * | , | ||
struct target_section * | , | ||
const char * | |||
) |
Definition at line 525 of file exec.c.
References _, target_section::addr, target_section::endaddr, internal_error(), len, memaddr, offset, p, sections_end, target_section::the_bfd_section, and ULONGEST.
Referenced by core_xfer_partial(), exec_xfer_partial(), memory_xfer_partial_1(), and target_bfd_xfer_partial().
VEC | ( | mem_range_s | ) |
struct target_ops exec_ops |
Definition at line 63 of file exec.c.
Referenced by add_target_sections(), exec_set_find_memory_regions(), init_exec_ops(), read_value_memory(), remove_target_sections(), and set_section_command().
Definition at line 55 of file exec.h.
Referenced by gdb::command::frame_filters::_complete_frame_filter_list(), gdb::command::frame_filters::_enable_parse_arg(), cleanup_check.MasterCleanup::_find_var(), _initialize_amd64fbsd_nat(), _initialize_i386fbsd_nat(), _initialize_i386obsd_nat(), gdb.command.frame_filters.SetFrameFilterPriority::_parse_pri_arg(), gdb.command.frame_filters.ShowFrameFilterPriority::_parse_pri_arg(), gdb.command.explore.CompoundExplorer::_print_fields(), aarch64_align_watchpoint(), aarch64_extract_return_value(), aarch64_linux_insert_hw_breakpoint(), aarch64_linux_remove_hw_breakpoint(), aarch64_linux_stopped_data_address(), aarch64_point_encode_ctrl_reg(), aarch64_push_dummy_call(), aarch64_store_return_value(), ada_dump_subexp_body(), ada_find_parallel_type(), ada_fold_name(), ada_forward_operator_length(), ada_print_scalar(), ada_val_print_1(), ada_val_print_array(), ada_value_assign(), ada_value_primitive_packed_val(), add_indices_to_cpool(), add_line_to_sigset(), add_memrange(), add_msglist(), add_path(), alpha_push_dummy_call(), amd64_classify(), amd64_displaced_step_copy_insn(), amd64_get_longjmp_target(), amd64_push_arguments(), amd64_relocate_instruction(), amd64_return_value(), amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_push_arguments(), amd64_windows_return_value(), append_insns(), appendmem(), arm_displaced_init_closure(), arm_extract_return_value(), arm_linux_hw_watchpoint_initialize(), arm_push_dummy_call(), arm_stap_parse_special_token(), arm_store_return_value(), auto_load_objfile_script(), auto_load_objfile_script_1(), auto_load_safe_path_vec_update(), avr_push_dummy_call(), avr_scan_prologue(), bfdcore_read(), bfdcore_write(), bfin_extract_return_value(), bfin_store_return_value(), bp_loc_is_permanent(), bsd_kvm_xfer_memory(), build_type_psymtab_dependencies(), c_parse_escape(), c_type_print_base(), c_val_print(), calculate_dvc(), can_use_hardware_watchpoint(), cd_command(), gdb.command.explore.ExploreUtils::check_args(), check_stub_method_group(), check_typedef(), test_pubnames_and_indexes::CheckSets(), collect_symbol(), commandline_from_pid(), compare_filenames_for_search(), compute_symtab_includes(), copy_exp(), copy_string(), core_xfer_partial(), gdb::command::pretty_printers::count_enabled_printers(), cp_find_class_member(), cp_lookup_symbol_imports(), cp_print_value_fields(), cris_extract_return_value(), cris_push_dummy_call(), cris_store_return_value(), ctf_write_uploaded_tsv(), darwin_debug_port_info(), darwin_load_image_infos(), darwin_solib_read_all_image_info_addr(), dcache_read_line(), dcache_update(), dcache_xfer_memory(), default_value_from_register(), destructor_name_p(), displaced_step_dump_bytes(), displaced_step_prepare(), displaced_step_restore(), do_captured_read_memory_integer(), do_ppc_sysv_return_value(), do_set_command(), document_command(), dump_mem(), dump_subexp_body_standard(), dump_symtab_1(), dwarf2_compile_expr_to_ax(), dwarf2_is_constructor(), dynamic_template_type(), elf_symtab_read(), elinos::elinos_init(), ensure_lval(), eq_symtab_entry(), evaluate_subexp_c(), evaluate_subexp_standard(), execute_control_command(), gdb::frames::execute_frame_filters(), execute_stack_op(), expand(), gdb.command.explore.CompoundExplorer::explore_type(), extended_remote_run(), extract_bit_field(), extract_identifier(), extract_long_unsigned_integer(), extract_signed_integer(), extract_unsigned_integer(), fbsd_pid_to_exec_file(), fetch_ppc_memory(), field_alignment(), field_name_match(), find_and_open_source(), find_last_source_symtab_from_partial(), find_line_common(), find_method_list(), find_pc_sect_line(), find_symbol_in_baseclass(), first_component_command(), floatformat_mantissa(), fork_inferior(), frv_extract_return_value(), frv_push_dummy_call(), frv_store_return_value(), gdb_listfiles(), gdb_mangle_name(), gdb_os_write_stderr(), gdb_os_write_stdout(), gdb_realpath(), gdb_register_info(), gdb_set_mem(), gdbpy_parse_command_name(), gdbsim_create_inferior(), gdbsim_open(), gdbsim_xfer_memory(), generic_val_print(), get_core_siginfo(), get_field(), get_frame_register_bytes(), get_image_name(), get_in_environ(), get_long_set_bounds(), get_module_name(), test_pubnames_and_indexes::get_pub_info(), get_punctuator(), gnuv2_baseclass_offset(), gnuv3_find_method_in(), go32_xfer_memory(), gdb.command.explore.Explorer::guard_expr(), h8300_extract_return_value(), h8300_push_dummy_call(), help_list(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), hppa64_return_value(), hppa_match_insns_relaxed(), i386_convert_register_p(), i386_displaced_step_copy_insn(), i386_extract_return_value(), i386_fast_tracepoint_valid_at(), i386_push_dummy_call(), i386_reg_struct_return_p(), i386_register_to_value(), i386_set_debug_register_length(), i386_stap_parse_special_token(), i386_store_return_value(), i386_value_to_register(), ia64_hpux_fetch_register(), ia64_hpux_find_global_pointer_from_solib(), ia64_hpux_read_memory_bs(), ia64_hpux_stopped_in_syscall(), ia64_hpux_store_register(), ia64_hpux_xfer_memory(), ia64_hpux_xfer_memory_bs(), ia64_hpux_xfer_solib_got(), ia64_hpux_xfer_uregs(), ia64_push_dummy_call(), indirect_pieced_value(), inf_child_fileio_readlink(), inf_ptrace_xfer_partial(), info_spu_dma_command(), info_spu_event_command(), info_spu_mailbox_command(), info_spu_proxydma_command(), info_spu_signal_command(), init_environ(), init_shared_buffer(), insert_args(), inspect_type(), gdb.function.strfns._StrLen::invoke(), gdb.command.frame_filters.InfoFrameFilter::invoke(), gdb.command.pretty_printers.InfoPrettyPrinter::invoke(), iq2000_extract_return_value(), iq2000_store_return_value(), is_name_suffix(), is_unlimited_literal(), cleanup_check.MasterCleanup::isempty(), java_print_value_fields(), java_type_print_base(), ld_so_xfer_auxv(), lex_one_token(), linespec_lexer_lex_keyword(), linespec_lexer_lex_string(), linux_common_xfer_osdata(), linux_proc_xfer_partial(), linux_xfer_osdata_fds(), linux_xfer_osdata_isockets(), linux_xfer_osdata_modules(), linux_xfer_osdata_msg(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_sem(), linux_xfer_osdata_shm(), linux_xfer_osdata_threads(), linux_xfer_siginfo(), gdb.command.frame_filters.InfoFrameFilter::list_frame_filters(), lm32_store_return_value(), lookup_cmd(), lookup_cmd_1(), lookup_cmd_composition(), m2_enum(), m2_is_long_set(), m2_is_long_set_of_type(), m2_long_set(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_record_fields(), m2_val_print(), m32c_m16c_pointer_to_address(), m32c_part_read(), m32c_part_write(), m32c_r3r2r1r0_read(), m32c_r3r2r1r0_write(), m32r_extract_return_value(), m32r_insert_watchpoint(), m32r_push_dummy_call(), m32r_store_return_value(), m68hc11_store_return_value(), m68k_extract_return_value(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_store_return_value(), m88k_floating_p(), m88k_integral_or_pointer_p(), m88k_return_value(), m88k_store_arguments(), macro_stringify(), test_pubnames_and_indexes::main(), maintenance_do_deprecate(), match_endianness(), memory_xfer_live_readonly_partial(), memory_xfer_partial_1(), cleanup_check.MasterCleanup::merge(), mi_cmd_data_write_memory_bytes(), mi_parse_argv(), mi_parse_format(), microblaze_store_return_value(), mips_common_breakpoint(), mips_eabi_push_dummy_call(), mips_linux_insert_watchpoint(), mips_linux_watch_try_one_watch(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_receive_packet(), mips_register_to_value(), mips_request(), mips_value_to_register(), mips_xfer_memory(), mn10300_extract_return_value(), mn10300_push_dummy_call(), mn10300_store_return_value(), monitor_error(), monitor_printable_string(), monitor_printf(), monitor_printf_noecho(), monitor_read_memory(), monitor_read_memory_single(), monitor_write_memory(), moxie_extract_return_value(), moxie_store_return_value(), myread(), nbsd_pid_to_exec_file(), net_open(), nios2_extract_return_value(), nios2_push_dummy_call(), nios2_store_return_value(), nto_find_and_open_solib(), openp(), pack_long(), pack_unsigned_long(), parse_find_args(), parse_float(), parse_number(), parse_one_string(), parse_partial_symbols(), gdb::command::pretty_printers::parse_printer_regexps(), partial_memory_read(), pascal_object_print_value_fields(), pascal_print_func_args(), pascal_type_print_base(), pascal_type_print_method_args(), pascal_val_print(), pass_in_x(), pass_in_x_or_stack(), pass_on_stack(), ppc64_sysv_abi_push_dummy_call(), ppc_stap_parse_special_token(), ppc_sysv_abi_push_dummy_call(), prefixify_expression(), print_binary_chars(), print_decimal_floating(), print_enum_type(), print_field_values(), print_floating(), print_formatted(), print_func_type(), print_hex_chars(), print_octal_chars(), print_scalar_formatted(), print_source_lines_base(), print_type_scalar(), probe_is_linespec_by_keyword(), proc_set_watchpoint(), process_psymtab_comp_unit_reader(), processId(), processString(), procfs_create_inferior(), procfs_hw_watchpoint(), procfs_store_registers(), procfs_xfer_partial(), push_stack_item(), put_field(), put_frame_register_bytes(), rbreak_command(), read_atcb(), read_fat_string_value(), read_frame_register_value(), read_huge_number(), read_pe_exported_syms(), read_target_long_array(), record_full_core_xfer_partial(), record_full_mem_alloc(), record_full_restore(), record_full_save(), record_linux_msghdr(), record_linux_system_call(), recv_data(), remote_buffer_add_bytes(), remote_buffer_add_int(), remote_buffer_add_string(), remote_escape_output(), remote_fileio_func_rename(), remote_hostio_readlink(), remote_unescape_input(), replace_bit_field(), replace_typedefs_qualified_name(), restore_binary_file(), rl78_push_dummy_call(), rs6000_aix_ld_info_to_xml(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), rs6000_xfer_partial(), rx_push_dummy_call(), rx_return_value(), safe_read_memory_integer(), safe_strerror(), save_infcall_suspend_state(), savestring(), score3_breakpoint_from_pc(), section_table_xfer_memory_partial(), select_source_symtab(), send_data(), set_be_le_names(), set_in_environ(), sh64_extract_return_value(), sh64_push_dummy_call(), sh64_store_return_value(), sh_corefile_collect_regset(), sh_corefile_supply_regset(), sh_extract_return_value_fpu(), sh_extract_return_value_nofpu(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_store_return_value_fpu(), sh_store_return_value_nofpu(), sh_use_struct_convention(), simple_displaced_step_copy_insn(), sparc32_extract_return_value(), sparc32_store_arguments(), sparc32_store_return_value(), sparc64_complex_floating_p(), sparc64_extract_floating_fields(), sparc64_extract_return_value(), sparc64_floating_p(), sparc64_integral_or_pointer_p(), sparc64_store_arguments(), sparc64_store_floating_fields(), sparc64_store_return_value(), sparc_complex_floating_p(), sparc_fetch_wcookie(), sparc_floating_p(), sparc_integral_or_pointer_p(), sparc_xfer_wcookie(), spu_current_sos(), spu_push_dummy_call(), spu_regcache_to_value(), spu_symbol_file_add_from_memory(), spu_value_from_register(), spu_value_to_regcache(), stap_parse_register_operand(), store_ppc_memory(), store_signed_integer(), store_unsigned_integer(), stringify(), substitute_args(), gdb::prompt::substitute_prompt(), symbol_set_names(), target_read(), target_write_memory_blocks(), target_write_with_progress(), tfile_xfer_partial(), tic6x_arg_type_alignment(), tic6x_extract_return_value(), tic6x_push_dummy_call(), tic6x_store_return_value(), tilegx_extract_return_value(), tilegx_store_return_value(), to_fixed_array_type(), trace_dump_actions(), traceframe_available_memory(), tui_display_registers_from(), tui_set_default_tab_len(), tui_set_disassem_content(), ui_memcpy(), unpack_double(), unpack_long(), unpack_mangled_go_symbol(), unset_in_environ(), copyright::update_files(), v850_extract_return_value(), v850_push_dummy_call(), v850_store_return_value(), val_print_array_elements(), val_print_packed_array_elements(), value_equal(), value_from_history_ref(), value_get_print_value(), value_logical_not(), value_neg(), value_pointer(), value_strcmp(), variable_format(), variable_obj_command(), vax_return_value(), vax_store_arguments(), VEC(), cleanup_check.MasterCleanup::verify(), vfprintf_unfiltered(), watch_command_1(), windows_core_xfer_shared_libraries(), windows_create_inferior(), windows_xfer_shared_libraries(), write_exp_bitstring(), write_exp_string(), write_exp_string_vector(), xml_builtin_xfer_partial(), xml_fetch_content_from_file(), xstormy16_extract_return_value(), xstormy16_store_return_value(), xtensa_extract_return_value(), and xtensa_store_return_value().
Definition at line 55 of file exec.h.
Referenced by breakpoint_xfer_memory(), dcache_read_line(), do_captured_read_memory_integer(), m32r_xfer_memory(), memory_xfer_live_readonly_partial(), memory_xfer_partial_1(), mips_make_srec(), read_value_memory(), safe_read_memory_integer(), section_table_xfer_memory_partial(), traceframe_available_memory(), and VEC().
CORE_ADDR ULONGEST struct target_section* sections |
Definition at line 56 of file exec.h.
Referenced by add_target_sections(), exec_file_attach(), and get_section_vmas().
CORE_ADDR ULONGEST struct target_section struct target_section* sections_end |
Definition at line 57 of file exec.h.
Referenced by exec_file_attach(), exec_set_section_address(), memory_xfer_live_readonly_partial(), print_section_info(), remove_target_sections(), scan_dyntag(), section_table_xfer_memory_partial(), set_section_command(), solib_contains_address_p(), solib_map_sections(), target_section_by_addr(), and VEC().