GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
loongarch-linux-nat.c File Reference
#include "defs.h"
#include "elf/common.h"
#include "gregset.h"
#include "inferior.h"
#include "linux-nat-trad.h"
#include "loongarch-tdep.h"
#include "nat/gdb_ptrace.h"
#include "target-descriptions.h"
#include <asm/ptrace.h>

Go to the source code of this file.

Classes

class  loongarch_linux_nat_target
 

Functions

static void fetch_gregs_from_thread (struct regcache *regcache, int regnum, pid_t tid)
 
static void store_gregs_to_thread (struct regcache *regcache, int regnum, pid_t tid)
 
static void fetch_fpregs_from_thread (struct regcache *regcache, int regnum, pid_t tid)
 
static void store_fpregs_to_thread (struct regcache *regcache, int regnum, pid_t tid)
 
void supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregset)
 
void fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregset, int regnum)
 
void supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregset)
 
void fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregset, int regnum)
 
void _initialize_loongarch_linux_nat ()
 

Variables

static loongarch_linux_nat_target the_loongarch_linux_nat_target
 

Function Documentation

◆ _initialize_loongarch_linux_nat()

void _initialize_loongarch_linux_nat ( )

◆ fetch_fpregs_from_thread()

static void fetch_fpregs_from_thread ( struct regcache * regcache,
int regnum,
pid_t tid )
static

◆ fetch_gregs_from_thread()

static void fetch_gregs_from_thread ( struct regcache * regcache,
int regnum,
pid_t tid )
static

◆ fill_fpregset()

void fill_fpregset ( const struct regcache * regcache,
gdb_fpregset_t * fpregset,
int regnum )

Definition at line 214 of file loongarch-linux-nat.c.

References regset::collect_regset, loongarch_fpregset, and regnum.

◆ fill_gregset()

void fill_gregset ( const struct regcache * regcache,
gdb_gregset_t * gregset,
int regnum )

Definition at line 199 of file loongarch-linux-nat.c.

References regset::collect_regset, loongarch_gregset, and regnum.

◆ store_fpregs_to_thread()

static void store_fpregs_to_thread ( struct regcache * regcache,
int regnum,
pid_t tid )
static

◆ store_gregs_to_thread()

static void store_gregs_to_thread ( struct regcache * regcache,
int regnum,
pid_t tid )
static

◆ supply_fpregset()

void supply_fpregset ( struct regcache * regcache,
const gdb_fpregset_t * fpregset )

Definition at line 207 of file loongarch-linux-nat.c.

References loongarch_fpregset, and regset::supply_regset.

◆ supply_gregset()

void supply_gregset ( struct regcache * regcache,
const gdb_gregset_t * gregset )

Definition at line 192 of file loongarch-linux-nat.c.

References loongarch_gregset, and regset::supply_regset.

Variable Documentation

◆ the_loongarch_linux_nat_target

loongarch_linux_nat_target the_loongarch_linux_nat_target
static

Definition at line 187 of file loongarch-linux-nat.c.

Referenced by _initialize_loongarch_linux_nat().