GDB (xrefs)
Macros | Functions
/tmp/gdb-8.1/gdb/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.

Macros

#define exec_bfd   current_program_space->ebfd
 
#define exec_bfd_mtime   current_program_space->ebfd_mtime
 
#define exec_filename   current_program_space->pspace_exec_filename
 

Functions

int build_section_table (struct bfd *, struct target_section **, struct target_section **)
 
void clear_section_table (struct target_section_table *table)
 
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 *, struct target_section *, struct target_section *, const char *)
 
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 remove_target_sections (void *owner)
 
void add_target_sections (void *owner, struct target_section *sections, struct target_section *sections_end)
 
void add_target_sections_of_objfile (struct objfile *objfile)
 
void print_section_info (struct target_section_table *table, bfd *abfd)
 
void exec_close (void)
 
void try_open_exec_file (const char *exec_file_host, struct inferior *inf, symfile_add_flags add_flags)
 

Macro Definition Documentation

◆ exec_bfd

#define exec_bfd   current_program_space->ebfd

◆ exec_bfd_mtime

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

◆ exec_filename

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

Function Documentation

◆ add_target_sections()

void add_target_sections ( void *  owner,
struct target_section sections,
struct target_section sections_end 
)

◆ add_target_sections_of_objfile()

void add_target_sections_of_objfile ( struct objfile objfile)

◆ build_section_table()

int build_section_table ( struct bfd *  ,
struct target_section **  ,
struct target_section **   
)

◆ clear_section_table()

void clear_section_table ( struct target_section_table table)

◆ exec_close()

void exec_close ( void  )

◆ exec_read_partial_read_only()

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

◆ exec_set_section_address()

void exec_set_section_address ( const char *  ,
int  ,
CORE_ADDR   
)

◆ print_section_info()

void print_section_info ( struct target_section_table table,
bfd *  abfd 
)

◆ remove_target_sections()

void remove_target_sections ( void *  owner)

◆ section_table_read_available_memory()

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

◆ section_table_xfer_memory_partial()

enum target_xfer_status section_table_xfer_memory_partial ( gdb_byte ,
const gdb_byte ,
ULONGEST  ,
ULONGEST  ,
ULONGEST ,
struct target_section ,
struct target_section ,
const char *   
)

◆ try_open_exec_file()

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