GDB (xrefs)
Macros | Functions | Variables
/tmp/gdb-7.10/gdb/m32r-linux-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "linux-nat.h"
#include "target.h"
#include <sys/ptrace.h>
#include <sys/user.h>
#include <sys/procfs.h>
#include "gregset.h"
#include "m32r-tdep.h"

Go to the source code of this file.

Macros

#define M32R_LINUX_NUM_REGS   (M32R_NUM_REGS - 1)
 
#define PSW_REGMAP   19
 
#define BBPSW_REGMAP   21
 
#define SPU_REGMAP   23
 
#define SPI_REGMAP   26
 
#define GETREGS_SUPPLIES(regno)
 

Functions

void supply_gregset (struct regcache *regcache, const elf_gregset_t *gregsetp)
 
static void fetch_regs (struct regcache *regcache, int tid)
 
void fill_gregset (const struct regcache *regcache, elf_gregset_t *gregsetp, int regno)
 
static void store_regs (const struct regcache *regcache, int tid, int regno)
 
void supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregs)
 
void fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregs, int regno)
 
static void m32r_linux_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
static void m32r_linux_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
void _initialize_m32r_linux_nat (void)
 

Variables

static int regmap []
 

Macro Definition Documentation

#define BBPSW_REGMAP   21

Definition at line 51 of file m32r-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().

#define GETREGS_SUPPLIES (   regno)
Value:
(0 <= (regno) \
&& (regno) <= M32R_LINUX_NUM_REGS)
#define M32R_LINUX_NUM_REGS

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

Referenced by m32r_linux_fetch_inferior_registers(), and m32r_linux_store_inferior_registers().

#define M32R_LINUX_NUM_REGS   (M32R_NUM_REGS - 1)

Definition at line 40 of file m32r-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().

#define PSW_REGMAP   19

Definition at line 50 of file m32r-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().

#define SPI_REGMAP   26

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

Referenced by fill_gregset(), and supply_gregset().

#define SPU_REGMAP   23

Definition at line 52 of file m32r-linux-nat.c.

Referenced by fill_gregset(), and supply_gregset().

Function Documentation

void _initialize_m32r_linux_nat ( void  )
static void fetch_regs ( struct regcache regcache,
int  tid 
)
static
void fill_fpregset ( const struct regcache regcache,
gdb_fpregset_t fpregs,
int  regno 
)

Definition at line 180 of file m32r-linux-nat.c.

void fill_gregset ( const struct regcache regcache,
elf_gregset_t *  gregsetp,
int  regno 
)
static void m32r_linux_fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static
static void m32r_linux_store_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static
static void store_regs ( const struct regcache regcache,
int  tid,
int  regno 
)
static
void supply_fpregset ( struct regcache regcache,
const gdb_fpregset_t fpregs 
)

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

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

Variable Documentation

int regmap[]
static
Initial value:
= {
4, 5, 6, 7, 0, 1, 2, 8,
9, 10, 11, 12, 13, 24, 25, 23,
19, 19, 26, 23, 22, 20, 16, 15
}

Definition at line 44 of file m32r-linux-nat.c.

Referenced by alphanbsd_aout_supply_gregset(), fill_gregset(), sh_corefile_collect_regset(), sh_corefile_supply_regset(), supply_gregset(), and xtensa_find_register_by_name().