GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/gdb/tilegx-linux-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "linux-nat.h"
#include <sys/ptrace.h>
#include <sys/procfs.h>
#include "gdb_proc_service.h"
#include "gregset.h"

Go to the source code of this file.

Functions

void supply_gregset (struct regcache *regcache, const elf_gregset_t *gregsetp)
 
void fill_gregset (const struct regcache *regcache, elf_gregset_t *gregsetp, int regno)
 
void supply_fpregset (struct regcache *regcache, const elf_fpregset_t *fpregsetp)
 
void fill_fpregset (const struct regcache *regcache, elf_fpregset_t *fpregsetp, int regno)
 
static void fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
 
static void store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
 
void _initialize_tile_linux_nat (void)
 

Variables

static const int regmap []
 
initialize_file_ftype _initialize_tile_linux_nat
 

Function Documentation

void _initialize_tile_linux_nat ( void  )
static void fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
)
static
void fill_fpregset ( const struct regcache regcache,
elf_fpregset_t *  fpregsetp,
int  regno 
)

Definition at line 115 of file tilegx-linux-nat.c.

void fill_gregset ( const struct regcache regcache,
elf_gregset_t *  gregsetp,
int  regno 
)

Definition at line 87 of file tilegx-linux-nat.c.

References regcache_raw_collect(), and regmap.

Referenced by store_inferior_registers().

static void store_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
)
static
void supply_fpregset ( struct regcache regcache,
const elf_fpregset_t *  fpregsetp 
)

Definition at line 104 of file tilegx-linux-nat.c.

void supply_gregset ( struct regcache regcache,
const elf_gregset_t *  gregsetp 
)

Definition at line 72 of file tilegx-linux-nat.c.

References regcache_raw_supply(), and regmap.

Referenced by fetch_inferior_registers().

Variable Documentation

initialize_file_ftype _initialize_tile_linux_nat
const int regmap[]
static
Initial value:
=
{
0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55,
-1, -1, -1, -1, -1, -1, -1, -1,
56, 58
}

Definition at line 52 of file tilegx-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().