GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/exec.c File Reference
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "target.h"
#include "gdbcmd.h"
#include "language.h"
#include "filenames.h"
#include "symfile.h"
#include "objfiles.h"
#include "completer.h"
#include "value.h"
#include "exec.h"
#include "observer.h"
#include "arch-utils.h"
#include "gdbthread.h"
#include "progspace.h"
#include "gdb_bfd.h"
#include <fcntl.h>
#include "readline/readline.h"
#include "gdb_string.h"
#include "gdbcore.h"
#include <ctype.h>
#include "gdb_stat.h"

Go to the source code of this file.

Functions

void _initialize_exec (void)
void exec_close (void)
void exec_file_clear (int from_tty)
void exec_file_attach (char *filename, int from_tty)
int resize_section_table (struct target_section_table *table, int num_added)
int build_section_table (struct bfd *some_bfd, struct target_section **start, struct target_section **end)
void add_target_sections (void *owner, struct target_section *sections, struct target_section *sections_end)
void remove_target_sections (void *owner)
 VEC (mem_range_s)
int section_table_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len, struct target_section *sections, struct target_section *sections_end, const char *section_name)
void print_section_info (struct target_section_table *t, bfd *abfd)
void exec_set_section_address (const char *filename, int index, CORE_ADDR address)
void exec_set_find_memory_regions (int(*func)(find_memory_region_ftype, void *))

Variables

void(* deprecated_file_changed_hook )(char *)
struct target_ops exec_ops
int write_files = 0

Function Documentation

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

Definition at line 411 of file exec.c.

int build_section_table ( struct bfd *  some_bfd,
struct target_section **  start,
struct target_section **  end 
)

Definition at line 389 of file exec.c.

void exec_close ( void  )

Definition at line 91 of file exec.c.

void exec_file_attach ( char *  filename,
int  from_tty 
)

Definition at line 168 of file exec.c.

void exec_file_clear ( int  from_tty)

Definition at line 141 of file exec.c.

Definition at line 776 of file exec.c.

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

Definition at line 737 of file exec.c.

void print_section_info ( struct target_section_table t,
bfd *  abfd 
)

Definition at line 613 of file exec.c.

void remove_target_sections ( void *  owner)

Definition at line 445 of file exec.c.

int resize_section_table ( struct target_section_table table,
int  num_added 
)

Definition at line 361 of file exec.c.

int section_table_xfer_memory_partial ( gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
LONGEST  len,
struct target_section sections,
struct target_section sections_end,
const char *  section_name 
)

Definition at line 525 of file exec.c.

Definition at line 487 of file exec.c.


Variable Documentation

Definition at line 47 of file exec.c.

Definition at line 63 of file exec.c.

Definition at line 70 of file exec.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines