GDB (xrefs)
|
Go to the source code of this file.
Functions | |
target_section_table | build_section_table (struct bfd *) |
void | exec_on_vfork (inferior *vfork_child) |
enum target_xfer_status | exec_read_partial_read_only (gdb_byte *readbuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) |
enum target_xfer_status | section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *, ULONGEST, ULONGEST, ULONGEST *, const target_section_table &, gdb::function_view< bool(const struct target_section *)> match_cb=nullptr) |
enum target_xfer_status | section_table_read_available_memory (gdb_byte *readbuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) |
void | exec_set_section_address (const char *, int, CORE_ADDR) |
void | print_section_info (const target_section_table *table, bfd *abfd) |
void | try_open_exec_file (const char *exec_file_host, struct inferior *inf, symfile_add_flags add_flags) |
target_section_table build_section_table | ( | struct bfd * | some_bfd | ) |
Definition at line 563 of file exec.c.
References gdb_bfd_sections().
Referenced by core_target::core_target(), exec_file_attach(), record_full_core_open_1(), and solib_map_sections().
void exec_on_vfork | ( | inferior * | vfork_child | ) |
Definition at line 680 of file exec.c.
References exec_ops, inferior::pspace, inferior::push_target(), and program_space::target_sections().
Referenced by follow_fork_inferior().
enum target_xfer_status exec_read_partial_read_only | ( | gdb_byte * | readbuf, |
ULONGEST | offset, | ||
ULONGEST | len, | ||
ULONGEST * | xfered_len | ||
) |
Definition at line 689 of file exec.c.
References current_program_space, program_space::exec_bfd(), obj_section::offset(), size, TARGET_XFER_E_IO, TARGET_XFER_EOF, and TARGET_XFER_OK.
Referenced by section_table_read_available_memory(), and tfile_target::xfer_partial().
void exec_set_section_address | ( | const char * | filename, |
int | index, | ||
CORE_ADDR | address | ||
) |
Definition at line 1023 of file exec.c.
References current_program_space, and program_space::target_sections().
Referenced by default_symfile_offsets(), objfile_relocate1(), and svr4_relocate_main_executable().
void print_section_info | ( | const target_section_table * | table, |
bfd * | abfd | ||
) |
Definition at line 903 of file exec.c.
References current_program_space, program_space::exec_bfd(), file_name_style, gdb_printf(), gdb_stdout, gdbarch_addr_bit(), gdbarch_addr_bits_remove(), gdbarch_from_bfd(), info_verbose, paddress(), cli_style_option::style(), and styled_string().
Referenced by core_target::files_info(), and exec_target::files_info().
enum target_xfer_status section_table_read_available_memory | ( | gdb_byte * | readbuf, |
ULONGEST | offset, | ||
ULONGEST | len, | ||
ULONGEST * | xfered_len | ||
) |
Definition at line 772 of file exec.c.
References current_inferior(), exec_read_partial_read_only(), mem_ranges_overlap(), normalize_mem_ranges(), obj_section::offset(), section_table_available_memory(), status, target_get_section_table(), and TARGET_XFER_UNAVAILABLE.
Referenced by tfile_target::xfer_partial().
enum target_xfer_status section_table_xfer_memory_partial | ( | gdb_byte * | readbuf, |
const gdb_byte * | writebuf, | ||
ULONGEST | offset, | ||
ULONGEST | len, | ||
ULONGEST * | xfered_len, | ||
const target_section_table & | sections, | ||
gdb::function_view< bool(const struct target_section *)> | match_cb = nullptr |
||
) |
Definition at line 812 of file exec.c.
References obj_section::offset(), TARGET_XFER_EOF, and TARGET_XFER_OK.
Referenced by memory_xfer_partial_1(), core_target::xfer_memory_via_mappings(), core_target::xfer_partial(), exec_target::xfer_partial(), and target_bfd::xfer_partial().
void try_open_exec_file | ( | const char * | exec_file_host, |
struct inferior * | inf, | ||
symfile_add_flags | add_flags | ||
) |
Definition at line 166 of file exec.c.
References err, exec_file_attach(), symbol_file_add_main(), and SYMFILE_VERBOSE.
Referenced by exec_file_locate_attach(), and follow_exec().