GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/xtensa-linux-nat.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "gdb_assert.h"
#include "target.h"
#include "linux-nat.h"
#include <stdint.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 <sys/ptrace.h>
#include "gregset.h"
#include "xtensa-tdep.h"
#include "xtensa-xtregs.c"

Go to the source code of this file.

Defines

#define GET_THREAD_ID(PTID)   get_thread_id (PTID)

Functions

static int get_thread_id (ptid_t ptid)
void fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregsetp, int regnum)
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)
void xtensa_linux_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
void xtensa_linux_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
void _initialize_xtensa_linux_nat (void)

Variables

static int xtreg_lo
static int xtreg_high

Define Documentation

#define GET_THREAD_ID (   PTID)    get_thread_id (PTID)

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

Referenced by fetch_gregs(), fetch_xtregs(), store_gregs(), and store_xtregs().


Function Documentation

static void fetch_gregs ( struct regcache regcache,
int  regnum 
) [static]
static void fetch_xtregs ( struct regcache regcache,
int  regnum 
) [static]
void fill_fpregset ( const struct regcache regcache,
gdb_fpregset_t fpregsetp,
int  regnum 
)
void fill_gregset ( const struct regcache regcache,
gdb_gregset_t gregsetp,
int  regnum 
)
static int get_thread_id ( ptid_t  ptid) [static]

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

References ptid_get_lwp(), and ptid_get_pid().

static void store_gregs ( struct regcache regcache,
int  regnum 
) [static]
static void store_xtregs ( struct regcache regcache,
int  regnum 
) [static]
void supply_fpregset ( struct regcache regcache,
const gdb_fpregset_t fpregsetp 
)

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

References aarch64_linux_supply_fpregset().

void supply_gregset ( struct regcache regcache,
const gdb_gregset_t gregsetp 
)

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

References aarch64_linux_supply_gregset(), and supply_gregset_reg().

void supply_gregset_reg ( struct regcache regcache,
const gdb_gregset_t gregsetp,
int  regnum 
)
void xtensa_linux_fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
)

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

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

Referenced by _initialize_xtensa_linux_nat().

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

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

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

Referenced by _initialize_xtensa_linux_nat().


Variable Documentation

int xtreg_high [static]
int xtreg_lo [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines