GDB (xrefs)
Macros | Functions | Variables
/tmp/gdb-7.10/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 <sys/ptrace.h>
#include <asm/ptrace.h>
#include "gregset.h"
#include "xtensa-tdep.h"
#include "xtensa-xtregs.c"

Go to the source code of this file.

Macros

#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
 

Macro Definition Documentation

#define GET_THREAD_ID (   PTID)    get_thread_id (PTID)

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

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

Function Documentation

void _initialize_xtensa_linux_nat ( void  )
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 46 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 
)
void supply_gregset ( struct regcache regcache,
const gdb_gregset_t gregsetp 
)
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 264 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 279 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