GDB (xrefs)
Classes | Functions | Variables
/tmp/gdb-7.10/gdb/symfile-mem.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbcore.h"
#include "objfiles.h"
#include "gdbcmd.h"
#include "target.h"
#include "value.h"
#include "symfile.h"
#include "observer.h"
#include "auxv.h"
#include "elf/common.h"
#include "gdb_bfd.h"

Go to the source code of this file.

Classes

struct  symbol_file_add_from_memory_args
 

Functions

 gdb_static_assert (sizeof(CORE_ADDR)==sizeof(bfd_vma))
 
 gdb_static_assert (sizeof(gdb_byte)==sizeof(bfd_byte))
 
 gdb_static_assert (sizeof(ssize_t)<=sizeof(bfd_size_type))
 
static int target_read_memory_bfd (bfd_vma memaddr, bfd_byte *myaddr, bfd_size_type len)
 
static struct objfilesymbol_file_add_from_memory (struct bfd *templ, CORE_ADDR addr, size_t size, char *name, int from_tty)
 
static void add_symbol_file_from_memory_command (char *args, int from_tty)
 
static int symbol_file_add_from_memory_wrapper (struct ui_out *uiout, void *data)
 
static void add_vsyscall_page (struct target_ops *target, int from_tty)
 
void _initialize_symfile_mem (void)
 

Variables

initialize_file_ftype _initialize_symfile_mem
 

Function Documentation

void _initialize_symfile_mem ( void  )
static void add_symbol_file_from_memory_command ( char *  args,
int  from_tty 
)
static
static void add_vsyscall_page ( struct target_ops target,
int  from_tty 
)
static
gdb_static_assert ( sizeof(CORE_ADDR = =sizeof(bfd_vma))
gdb_static_assert ( sizeof(gdb_byte = =sizeof(bfd_byte))
gdb_static_assert ( sizeof(ssize_t)<=sizeof(bfd_size_type)  )
static struct objfile* symbol_file_add_from_memory ( struct bfd *  templ,
CORE_ADDR  addr,
size_t  size,
char *  name,
int  from_tty 
)
static
static int symbol_file_add_from_memory_wrapper ( struct ui_out uiout,
void *  data 
)
static
static int target_read_memory_bfd ( bfd_vma  memaddr,
bfd_byte *  myaddr,
bfd_size_type  len 
)
static

Definition at line 68 of file symfile-mem.c.

References gdb_assert, and target_read_memory().

Referenced by symbol_file_add_from_memory().

Variable Documentation

initialize_file_ftype _initialize_symfile_mem