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

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 (const char *args, int from_tty)
 
static void add_vsyscall_page (struct target_ops *target, int from_tty)
 
void _initialize_symfile_mem (void)
 

Function Documentation

◆ _initialize_symfile_mem()

void _initialize_symfile_mem ( void  )

◆ add_symbol_file_from_memory_command()

static void add_symbol_file_from_memory_command ( const char *  args,
int  from_tty 
)
static

◆ add_vsyscall_page()

static void add_vsyscall_page ( struct target_ops target,
int  from_tty 
)
static

◆ gdb_static_assert() [1/3]

gdb_static_assert ( sizeof(CORE_ADDR = =sizeof(bfd_vma))

◆ gdb_static_assert() [2/3]

gdb_static_assert ( sizeof(gdb_byte = =sizeof(bfd_byte))

◆ gdb_static_assert() [3/3]

gdb_static_assert ( sizeof(ssize_t)<=sizeof(bfd_size_type)  )

◆ symbol_file_add_from_memory()

static struct objfile* symbol_file_add_from_memory ( struct bfd *  templ,
CORE_ADDR  addr,
size_t  size,
char *  name,
int  from_tty 
)
static

◆ target_read_memory_bfd()

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