GDB (xrefs)
Functions | Variables
/tmp/gdb-8.1/gdb/tilegx-linux-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "linux-nat.h"
#include "inf-ptrace.h"
#include "nat/gdb_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 []
 

Function Documentation

◆ _initialize_tile_linux_nat()

void _initialize_tile_linux_nat ( void  )

◆ fetch_inferior_registers()

static void fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
)
static

◆ fill_fpregset()

void fill_fpregset ( const struct regcache regcache,
elf_fpregset_t *  fpregsetp,
int  regno 
)

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

◆ fill_gregset()

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

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

References regcache_raw_collect(), and regmap.

Referenced by store_inferior_registers().

◆ store_inferior_registers()

static void store_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
)
static

◆ supply_fpregset()

void supply_fpregset ( struct regcache regcache,
const elf_fpregset_t *  fpregsetp 
)

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

◆ supply_gregset()

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

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

References regcache_raw_supply(), and regmap.

Referenced by fetch_inferior_registers().

Variable Documentation

◆ regmap

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 53 of file tilegx-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().