GDB (xrefs)
Loading...
Searching...
No Matches
Functions
exec.h File Reference
#include "target.h"
#include "progspace.h"
#include "memrange.h"
#include "symfile-add-flags.h"

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)
 

Function Documentation

◆ build_section_table()

target_section_table build_section_table ( struct bfd * some_bfd)
extern

◆ exec_on_vfork()

void exec_on_vfork ( inferior * vfork_child)
extern

◆ exec_read_partial_read_only()

enum target_xfer_status exec_read_partial_read_only ( gdb_byte * readbuf,
ULONGEST offset,
ULONGEST len,
ULONGEST * xfered_len )
extern

◆ exec_set_section_address()

void exec_set_section_address ( const char * filename,
int index,
CORE_ADDR address )
extern

◆ print_section_info()

void print_section_info ( const target_section_table * table,
bfd * abfd )
extern

◆ section_table_read_available_memory()

enum target_xfer_status section_table_read_available_memory ( gdb_byte * readbuf,
ULONGEST offset,
ULONGEST len,
ULONGEST * xfered_len )
extern

◆ section_table_xfer_memory_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 )
extern

◆ try_open_exec_file()

void try_open_exec_file ( const char * exec_file_host,
struct inferior * inf,
symfile_add_flags add_flags )
extern

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().