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

Classes

class  xtensa_linux_nat_target
 

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)
 
ps_err_e ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base)
 
void _initialize_xtensa_linux_nat ()
 

Variables

static xtensa_linux_nat_target the_xtensa_linux_nat_target
 
static int xtreg_lo
 
static int xtreg_high
 

Function Documentation

◆ _initialize_xtensa_linux_nat()

void _initialize_xtensa_linux_nat ( )

◆ 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 )

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

◆ 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 )

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

References ptrace, PTRACE_GETREGS, and xtensa_elf_gregset_t::threadptr.

◆ 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 )

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

◆ supply_gregset()

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

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

References supply_gregset_reg().

◆ supply_gregset_reg()

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

Variable Documentation

◆ the_xtensa_linux_nat_target

xtensa_linux_nat_target the_xtensa_linux_nat_target
static

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

Referenced by _initialize_xtensa_linux_nat().

◆ xtreg_high

int xtreg_high
static

◆ xtreg_lo

int xtreg_lo
static