GDB (xrefs)
Functions | Variables
/tmp/gdb-8.1/gdb/xtensa-linux-nat.c File Reference
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "target.h"
#include "linux-nat.h"
#include <sys/types.h>
#include <signal.h>
#include <sys/user.h>
#include <sys/ioctl.h>
#include "gdb_wait.h"
#include <fcntl.h>
#include <sys/procfs.h>
#include "nat/gdb_ptrace.h"
#include <asm/ptrace.h>
#include "gregset.h"
#include "xtensa-tdep.h"
#include "gdb_proc_service.h"
#include "xtensa-xtregs.c"

Go to the source code of this file.

Functions

void fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregsetp, int regnum)
 
static void supply_gregset_reg (struct regcache *regcache, const gdb_gregset_t *gregsetp, int regnum)
 
void supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp)
 
void fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregsetp, int regnum)
 
void supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp)
 
static void fetch_gregs (struct regcache *regcache, int regnum)
 
static void store_gregs (struct regcache *regcache, int regnum)
 
static void fetch_xtregs (struct regcache *regcache, int regnum)
 
static void store_xtregs (struct regcache *regcache, int regnum)
 
static void xtensa_linux_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
 
static void xtensa_linux_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
 
ps_err_e ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base)
 
void _initialize_xtensa_linux_nat (void)
 

Variables

static int xtreg_lo
 
static int xtreg_high
 

Function Documentation

◆ _initialize_xtensa_linux_nat()

void _initialize_xtensa_linux_nat ( void  )

◆ fetch_gregs()

static void fetch_gregs ( struct regcache regcache,
int  regnum 
)
static

◆ fetch_xtregs()

static void fetch_xtregs ( struct regcache regcache,
int  regnum 
)
static

◆ fill_fpregset()

void fill_fpregset ( const struct regcache regcache,
gdb_fpregset_t fpregsetp,
int  regnum 
)

◆ fill_gregset()

void fill_gregset ( const struct regcache regcache,
gdb_gregset_t gregsetp,
int  regnum 
)

◆ ps_get_thread_area()

ps_err_e ps_get_thread_area ( struct ps_prochandle ph,
lwpid_t  lwpid,
int  idx,
void **  base 
)

◆ store_gregs()

static void store_gregs ( struct regcache regcache,
int  regnum 
)
static

◆ store_xtregs()

static void store_xtregs ( struct regcache regcache,
int  regnum 
)
static

◆ supply_fpregset()

void supply_fpregset ( struct regcache regcache,
const gdb_fpregset_t fpregsetp 
)

◆ supply_gregset()

void supply_gregset ( struct regcache regcache,
const gdb_gregset_t gregsetp 
)

◆ supply_gregset_reg()

static void supply_gregset_reg ( struct regcache regcache,
const gdb_gregset_t gregsetp,
int  regnum 
)
static

◆ xtensa_linux_fetch_inferior_registers()

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

Definition at line 293 of file xtensa-linux-nat.c.

References fetch_gregs(), fetch_xtregs(), regnum, xtreg_high, and xtreg_lo.

Referenced by _initialize_xtensa_linux_nat().

◆ xtensa_linux_store_inferior_registers()

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

Definition at line 308 of file xtensa-linux-nat.c.

References regnum, store_gregs(), store_xtregs(), xtreg_high, and xtreg_lo.

Referenced by _initialize_xtensa_linux_nat().

Variable Documentation

◆ xtreg_high

int xtreg_high
static

◆ xtreg_lo

int xtreg_lo
static