GDB (xrefs)
|
#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 |
void _initialize_loongarch_linux_nat | ( | ) |
Definition at line 225 of file loongarch-linux-nat.c.
References add_inf_child_target(), linux_target, and the_loongarch_linux_nat_target.
|
static |
Definition at line 107 of file loongarch-linux-nat.c.
References LOONGARCH_FCSR_REGNUM, LOONGARCH_FIRST_FP_REGNUM, loongarch_fpregset, ptrace, PTRACE_GETREGSET, regnum, and regset::supply_regset.
Referenced by loongarch_linux_nat_target::fetch_registers().
|
static |
Definition at line 51 of file loongarch-linux-nat.c.
References LOONGARCH_BADV_REGNUM, loongarch_gregset, LOONGARCH_ORIG_A0_REGNUM, LOONGARCH_PC_REGNUM, ptrace, PTRACE_GETREGSET, regnum, and regset::supply_regset.
Referenced by loongarch_linux_nat_target::fetch_registers().
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.
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.
|
static |
Definition at line 128 of file loongarch-linux-nat.c.
References regset::collect_regset, LOONGARCH_FCSR_REGNUM, LOONGARCH_FIRST_FP_REGNUM, loongarch_fpregset, ptrace, PTRACE_GETREGSET, PTRACE_SETREGSET, and regnum.
Referenced by loongarch_linux_nat_target::store_registers().
|
static |
Definition at line 77 of file loongarch-linux-nat.c.
References regset::collect_regset, LOONGARCH_BADV_REGNUM, loongarch_gregset, LOONGARCH_ORIG_A0_REGNUM, LOONGARCH_PC_REGNUM, ptrace, PTRACE_GETREGSET, PTRACE_SETREGSET, and regnum.
Referenced by loongarch_linux_nat_target::store_registers().
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.
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.
|
static |
Definition at line 187 of file loongarch-linux-nat.c.
Referenced by _initialize_loongarch_linux_nat().