GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
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.

Classes

class  tilegx_linux_nat_target
 

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)
 
void _initialize_tile_linux_nat ()
 

Variables

static tilegx_linux_nat_target the_tilegx_linux_nat_target
 
static const int regmap []
 

Function Documentation

◆ _initialize_tile_linux_nat()

void _initialize_tile_linux_nat ( )

◆ fill_fpregset()

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

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

◆ fill_gregset()

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

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

References reg_buffer::raw_collect(), and regmap.

Referenced by tilegx_linux_nat_target::store_registers().

◆ supply_fpregset()

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

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

◆ supply_gregset()

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

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

References reg_buffer::raw_supply(), and regmap.

Referenced by tilegx_linux_nat_target::fetch_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 63 of file tilegx-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().

◆ the_tilegx_linux_nat_target

tilegx_linux_nat_target the_tilegx_linux_nat_target
static

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

Referenced by _initialize_tile_linux_nat().